From 6ebf6f4ee7f07e945f420de9da459d955e9b1637 Mon Sep 17 00:00:00 2001 From: Radiicall Date: Tue, 20 Feb 2024 23:32:07 +0100 Subject: [PATCH] Add show_paused to installer --- scripts/installer.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/installer.py b/scripts/installer.py index 82a811c..d748ebc 100755 --- a/scripts/installer.py +++ b/scripts/installer.py @@ -145,6 +145,17 @@ if appid == "": appid = None + show_paused = input("Do you want to show paused videos? (Y/n): ").lower() + + if show_paused == "y": + show_paused = True + elif show_paused == "n": + show_paused = False + else: + show_paused = None + + print("----------Buttons----------") + while True: val = input("Do you want custom buttons? (y/N): ").lower() @@ -220,7 +231,8 @@ discord = { "application_id": appid, - "buttons": buttons + "buttons": buttons, + "show_paused": show_paused } config = {