summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2024-11-20 12:31:03 +0100
committerGitHub <noreply@github.com>2024-11-20 12:31:03 +0100
commit8b895ce1846762fad7789d6fee3392211ca69c76 (patch)
treebb2a18322827c9cc7be232069dc1afd1bee00e47 /tidal_dl_ng/model
parent91244c0936d8c41a99b33b1cab90b8a42d68b306 (diff)
parentdda52eb05e6beae476fff9c15208677bd0a07629 (diff)
downloadtidal-dl-ng-8b895ce1846762fad7789d6fee3392211ca69c76.tar.gz
Merge pull request #249 from exislow/248-bug-500-server-error-internal-server-error-for-url
248 bug 500 server error internal server error for url
Diffstat (limited to 'tidal_dl_ng/model')
-rw-r--r--tidal_dl_ng/model/cfg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py
index 1cd4b5f..06614f4 100644
--- a/tidal_dl_ng/model/cfg.py
+++ b/tidal_dl_ng/model/cfg.py
@@ -38,6 +38,8 @@ class Settings:
cover_album_file: bool = True
extract_flac: bool = True
downloads_simultaneous_per_track_max: int = 20
+ download_delay_sec_min: float = 3.0
+ download_delay_sec_max: float = 5.0
@dataclass_json
@@ -80,6 +82,8 @@ class HelpSettings:
cover_album_file: str = "Save cover to 'cover.jpg', if an album is downloaded."
extract_flac: str = "Extract FLAC audio tracks from MP4 containers and save them as `*.flac` (uses FFmpeg)."
downloads_simultaneous_per_track_max: str = "Maximum number of simultaneous chunk downloads per track."
+ download_delay_sec_min: float = "Lower boundary for the calculation of the download delay in seconds."
+ download_delay_sec_max: float = "Upper boundary for the calculation of the download delay in seconds."
@dataclass_json