From b19b0fd91b1a6f1c4a7023c02b4e981691244a06 Mon Sep 17 00:00:00 2001 From: RiveN000 <61630074+RiveN000@users.noreply.github.com> Date: Thu, 14 Jul 2022 00:04:32 +0200 Subject: [PATCH] Added two new background videos Added two cool copyright-free background videos often used in shorts. --- .config.template.toml | 2 +- video_creation/background.py | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.config.template.toml b/.config.template.toml index 18f1b00..9fd779e 100644 --- a/.config.template.toml +++ b/.config.template.toml @@ -31,7 +31,7 @@ storymode = { optional = true, type = "bool", default = false, example = false, ], explanation = "not yet implemented" } [settings.background] -background_choice = { optional = true, default = "minecraft", example = "minecraft", options = ["minecraft", "gta", "rocket-league", "motor-gta", ""], explanation = "Sets the background for the video" } +background_choice = { optional = true, default = "minecraft", example = "minecraft", options = ["minecraft", "gta", "rocket-league", "motor-gta", "csgo-surf", "cluster-truck", ""], explanation = "Sets the background for the video" } #background_audio = { optional = true, type = "bool", default = false, example = false, options = [true, # false, #], explaination="Sets a audio to play in the background (put a background.mp3 file in the assets/backgrounds directory for it to be used.)" } diff --git a/video_creation/background.py b/video_creation/background.py index be0f46c..6054592 100644 --- a/video_creation/background.py +++ b/video_creation/background.py @@ -44,6 +44,18 @@ background_options = { "Achy Gaming", lambda t: ("center", 480 + t), ), + "csgo-surf": ( # CSGO Surf + "https://www.youtube.com/watch?v=E-8JlyO59Io", + "csgo-surf.mp4", + "Aki", + "center", + ), + "cluster-truck": ( # Cluster Truck Gameplay + "https://www.youtube.com/watch?v=uVKxtdMgJVU", + "cluster_truck.mp4", + "No Copyright Gameplay", + lambda t: ("center", 480 + t), + ), }