From fae079197ffb146ba156aa8295b5fc49e3532cff Mon Sep 17 00:00:00 2001 From: Syed Aman Raza <109358640+electro199@users.noreply.github.com> Date: Tue, 7 Feb 2023 23:41:42 +0500 Subject: [PATCH 1/2] typo Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com> --- video_creation/voices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_creation/voices.py b/video_creation/voices.py index 689b17a..3eb5196 100644 --- a/video_creation/voices.py +++ b/video_creation/voices.py @@ -43,7 +43,7 @@ def save_text_to_mp3(reddit_obj) -> Tuple[int, int]: print("Unknown Choice") text_to_mp3 = TTSEngine( - get_case_insensitive_key_value(TTSProviders, choice), reddit_obj , max_length = settings.config["settings"]["max_video_lenght"] + get_case_insensitive_key_value(TTSProviders, choice), reddit_obj , max_length = settings.config["settings"]["max_video_length"] ) return text_to_mp3.run() From efe52babd4f17fe0d06812a28e7e9e33a405c3e7 Mon Sep 17 00:00:00 2001 From: Syed Aman Raza <109358640+electro199@users.noreply.github.com> Date: Tue, 7 Feb 2023 23:41:55 +0500 Subject: [PATCH 2/2] typo Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com> --- utils/.config.template.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/.config.template.toml b/utils/.config.template.toml index 9d5c900..6f1c432 100644 --- a/utils/.config.template.toml +++ b/utils/.config.template.toml @@ -32,7 +32,7 @@ storymode_max_length = { optional = true, default = 1000, example = 1000, explan fps = { optional = false, default = 30, example = 30, explanation = "Sets the FPS of the video, 30 is default for best performance. 60 FPS is smoother.", type = "int", nmin = 1, nmax = 60, oob_error = "The FPS HAS to be between 1 and 60" } resolution_w = { optional = false, default = 1080, example = 1440, explantation = "Sets the width in pixels of the final video" } resolution_h = { optional = false, default = 1920, example = 2560, explantation = "Sets the height in pixels of the final video" } -max_video_lenght = { optional = false, default = 50, example = 30, explantation = "Sets the max lenght of the final video in seconds" type = "int",nmin = 5 } +max_video_length = { optional = false, default = 50, example = 30, explantation = "Sets the max length of the final video in seconds" type = "int",nmin = 5 } [settings.background] background_choice = { optional = true, default = "minecraft", example = "rocket-league", options = ["minecraft", "gta", "rocket-league", "motor-gta", "csgo-surf", "cluster-truck", "minecraft-2","multiversus","fall-guys","steep", ""], explanation = "Sets the background for the video based on game name" }