From 89684ac494677a09441b6c07830d7e45c515bde0 Mon Sep 17 00:00:00 2001 From: ArabCoders Date: Fri, 7 Mar 2025 20:13:39 +0300 Subject: [PATCH] add the new variable to enable yt-dlp console access to README --- README.md | 1 + app/library/config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 2ae6bd7d..1b48a99d 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ Certain configuration values can be set via environment variables, using the `-e | YTP_MAX_WORKERS | How many works to use for downloads | `1` | | YTP_AUTH_USERNAME | Username for basic authentication | `empty string` | | YTP_AUTH_PASSWORD | Password for basic authentication | `empty string` | +| YTP_CONSOLE_ENABLED | Whether to enable the console | `false` | | YTP_REMOVE_FILES | Remove the actual file when clicking the remove button | `false` | | YTP_CONFIG_PATH | Path to where the queue persistence files will be saved | `/config` | | YTP_TEMP_PATH | Path where intermediary download files will be saved | `/tmp` | diff --git a/app/library/config.py b/app/library/config.py index bea45fc9..b1a9c2b0 100644 --- a/app/library/config.py +++ b/app/library/config.py @@ -186,6 +186,7 @@ class Config: "pip_ignore_updates", "basic_mode", "file_logging", + "console_enabled", ) "The variables that are booleans."