From 4d16618cfb9ac09406797ea38c9c08f24440d257 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Thu, 25 Sep 2025 00:47:43 +0300 Subject: [PATCH] merge in the simple mode for testing --- app/library/config.py | 5 + ui/app/components/Simple.vue | 611 +++++++++++++++++++++++++++++++++++ ui/app/layouts/default.vue | 300 ++++++++--------- ui/app/stores/ConfigStore.ts | 1 + ui/app/types/config.d.ts | 2 + ui/app/types/store.d.ts | 2 + 6 files changed, 774 insertions(+), 147 deletions(-) create mode 100644 ui/app/components/Simple.vue diff --git a/app/library/config.py b/app/library/config.py index bb744967..9c3ef4fb 100644 --- a/app/library/config.py +++ b/app/library/config.py @@ -45,6 +45,9 @@ class Config(metaclass=Singleton): temp_path: str = "/tmp" """The path to the temporary directory.""" + simple_mode: bool = False + """Enable simple mode.""" + temp_keep: bool = False """Keep temporary files after the download is complete.""" @@ -244,6 +247,7 @@ class Config(metaclass=Singleton): "prevent_premiere_live", "temp_disabled", "allow_internal_urls", + "simple_mode", ) "The variables that are booleans." @@ -259,6 +263,7 @@ class Config(metaclass=Singleton): "default_preset", "instance_title", "console_enabled", + "simple_mode", "browser_control_enabled", "file_logging", "base_path", diff --git a/ui/app/components/Simple.vue b/ui/app/components/Simple.vue new file mode 100644 index 00000000..62e37650 --- /dev/null +++ b/ui/app/components/Simple.vue @@ -0,0 +1,611 @@ + + + + + diff --git a/ui/app/layouts/default.vue b/ui/app/layouts/default.vue index cd9ef5d5..a965723d 100644 --- a/ui/app/layouts/default.vue +++ b/ui/app/layouts/default.vue @@ -1,169 +1,174 @@