From 7d8b3ddb39abba7ea2f07dd7ec4e799f88b63f89 Mon Sep 17 00:00:00 2001 From: KDalu <71458929+KDalu@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:43:16 -0500 Subject: [PATCH] Added DOWNLOAD_REAL_TIME back as config variable. --- zotify/config.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zotify/config.py b/zotify/config.py index 8961989..f2b9e1c 100644 --- a/zotify/config.py +++ b/zotify/config.py @@ -14,6 +14,7 @@ AUDIO_FORMAT = "audio_format" CREATE_PLAYLIST_FILE = "create_playlist_file" CREDENTIALS_PATH = "credentials_path" DOWNLOAD_QUALITY = "download_quality" +DOWNLOAD_REAL_TIME = "download_real_time" FFMPEG_ARGS = "ffmpeg_args" FFMPEG_PATH = "ffmpeg_path" LANGUAGE = "language" @@ -129,6 +130,12 @@ CONFIG_VALUES = { "args": ["--download-quality"], "help": "Audio download quality (auto for highest available)", }, + DOWNLOAD_REAL_TIME: { + "default": False, + "type": bool, + "args": ["--download-real-time"], + "help": "Download at the same rate as the track being played", + }, ARTWORK_SIZE: { "default": "large", "type": ImageSize.from_string, @@ -261,6 +268,7 @@ class Config: audio_format: AudioFormat credentials_path: Path download_quality: Quality + download_real_time: bool ffmpeg_args: str ffmpeg_path: str language: str