diff --git a/README.md b/README.md index 436edf2b..1420b88e 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ Certain values can be set via environment variables, using the `-e` parameter on * __YTP_EXTRACT_INFO_TIMEOUT__: The timeout for extracting video information. Defaults to `70`. * __YTP_DB_FILE__: The path to the SQLite database file. Defaults to `{config_path}/ytptube.db`. * __YTP_MANUAL_ARCHIVE__: The path to the manual archive file. Defaults to `{config_path}/manual_archive.log`. +* __YTP_UI_UPDATE_TITLE__: Whether to update the title of the page with the current stats. Defaults to `true`. ## Running behind a reverse proxy diff --git a/app/library/config.py b/app/library/config.py index f4c1bdc1..43b16537 100644 --- a/app/library/config.py +++ b/app/library/config.py @@ -55,6 +55,7 @@ class Config: db_file: str = "{config_path}/ytptube.db" manual_archive: str = "{config_path}/archive.manual.log" + ui_update_title: bool = True # immutable config vars. version: str = APP_VERSION @@ -144,6 +145,7 @@ class Config: "access_log", "remove_files", "ignore_ui", + "ui_update_title", ) _frontend_vars: tuple = ( @@ -156,6 +158,7 @@ class Config: "started", "url_prefix", "remove_files", + "ui_update_title", ) @staticmethod diff --git a/ui/layouts/default.vue b/ui/layouts/default.vue index 4c5cf870..e65c48f1 100644 --- a/ui/layouts/default.vue +++ b/ui/layouts/default.vue @@ -31,7 +31,7 @@