From 324e94ce534c926ef6550d6b99148c31b6cd997f Mon Sep 17 00:00:00 2001 From: Simon <65854503+StopmotionSimonYT@users.noreply.github.com> Date: Tue, 16 Aug 2022 19:14:08 +0200 Subject: [PATCH] Added max_length in .config.template.toml --- utils/.config.template.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/.config.template.toml b/utils/.config.template.toml index adbaed0..9768d93 100644 --- a/utils/.config.template.toml +++ b/utils/.config.template.toml @@ -19,6 +19,7 @@ min_comments = { default = 20, optional = false, nmin = 15, type = "int", explan allow_nsfw = { optional = false, type = "bool", default = false, example = false, options = [true, false,], explanation = "Whether to allow NSFW content, True or False" } theme = { optional = false, default = "dark", example = "light", options = ["dark", "light",], explanation = "Sets the Reddit theme, either LIGHT or DARK" } times_to_run = { optional = false, default = 1, example = 2, explanation = "Used if you want to run multiple times. Set to an int e.g. 4 or 29 or 1", type = "int", nmin = 1, oob_error = "It's very hard to run something less than once." } +max_length = { optional = false, default = 50, example = 50, explanation = "How long the video should be approximately. Note: this is the time when there are no more comments used. The video can be longer than the given value.", type = "int", nmin = 1, oob_error = "It's very hard to make a video under a second." } opacity = { optional = false, default = 0.9, example = 0.8, explanation = "Sets the opacity of the comments when overlayed over the background", type = "float", nmin = 0, nmax = 1, oob_error = "The opacity HAS to be between 0 and 1", input_error = "The opacity HAS to be a decimal number between 0 and 1" } transition = { optional = true, default = 0.2, example = 0.2, explanation = "Sets the transition time (in seconds) between the comments. Set to 0 if you want to disable it.", type = "float", nmin = 0, nmax = 2, oob_error = "The transition HAS to be between 0 and 2", input_error = "The opacity HAS to be a decimal number between 0 and 2" } storymode = { optional = true, type = "bool", default = false, example = false, options = [true, false,], explanation = "Only read out title and post content, not yet implemented" }