Added DOWNLOAD_REAL_TIME back as config variable.
This commit is contained in:
parent
b11ecfa61a
commit
7d8b3ddb39
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,7 @@ AUDIO_FORMAT = "audio_format"
|
||||||
CREATE_PLAYLIST_FILE = "create_playlist_file"
|
CREATE_PLAYLIST_FILE = "create_playlist_file"
|
||||||
CREDENTIALS_PATH = "credentials_path"
|
CREDENTIALS_PATH = "credentials_path"
|
||||||
DOWNLOAD_QUALITY = "download_quality"
|
DOWNLOAD_QUALITY = "download_quality"
|
||||||
|
DOWNLOAD_REAL_TIME = "download_real_time"
|
||||||
FFMPEG_ARGS = "ffmpeg_args"
|
FFMPEG_ARGS = "ffmpeg_args"
|
||||||
FFMPEG_PATH = "ffmpeg_path"
|
FFMPEG_PATH = "ffmpeg_path"
|
||||||
LANGUAGE = "language"
|
LANGUAGE = "language"
|
||||||
|
@ -129,6 +130,12 @@ CONFIG_VALUES = {
|
||||||
"args": ["--download-quality"],
|
"args": ["--download-quality"],
|
||||||
"help": "Audio download quality (auto for highest available)",
|
"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: {
|
ARTWORK_SIZE: {
|
||||||
"default": "large",
|
"default": "large",
|
||||||
"type": ImageSize.from_string,
|
"type": ImageSize.from_string,
|
||||||
|
@ -261,6 +268,7 @@ class Config:
|
||||||
audio_format: AudioFormat
|
audio_format: AudioFormat
|
||||||
credentials_path: Path
|
credentials_path: Path
|
||||||
download_quality: Quality
|
download_quality: Quality
|
||||||
|
download_real_time: bool
|
||||||
ffmpeg_args: str
|
ffmpeg_args: str
|
||||||
ffmpeg_path: str
|
ffmpeg_path: str
|
||||||
language: str
|
language: str
|
||||||
|
|
Loading…
Add table
Reference in a new issue