summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-12-15 23:35:10 +0100
committerRobert Honz <exislow+github@gmail.com>2024-12-15 23:35:10 +0100
commit5768edacc57fd29bf2ef182cb9db312d4aebb468 (patch)
treecb5ec1765386c3e08bf90fa82103341c1c8bb1d3 /tidal_dl_ng/model
parent62c32f19a4bbf708e6330f3c89813de1c1883ad1 (diff)
downloadtidal-dl-ng-5768edacc57fd29bf2ef182cb9db312d4aebb468.tar.gz
✨ Multithreaded downloads implemented (for Playlists, Albums etc.). Fixes #180
Diffstat (limited to 'tidal_dl_ng/model')
-rw-r--r--tidal_dl_ng/model/cfg.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py
index bf01814..88636f1 100644
--- a/tidal_dl_ng/model/cfg.py
+++ b/tidal_dl_ng/model/cfg.py
@@ -40,7 +40,8 @@ class Settings:
downloads_simultaneous_per_track_max: int = 20
download_delay_sec_min: float = 3.0
download_delay_sec_max: float = 5.0
- album_track_num_pad_min: int = 0
+ album_track_num_pad_min: int = 1
+ downloads_concurrent_max: int = 3
@dataclass_json
@@ -86,8 +87,9 @@ class HelpSettings:
download_delay_sec_min: str = "Lower boundary for the calculation of the download delay in seconds."
download_delay_sec_max: str = "Upper boundary for the calculation of the download delay in seconds."
album_track_num_pad_min: str = (
- "Minimum length of the album track count, will be padded with zeroes (0). To disable " "padding set this to 0."
+ "Minimum length of the album track count, will be padded with zeroes (0). To disable padding set this to 1."
)
+ downloads_concurrent_max: str = "Maximum concurrent number of downloads (threads)."
@dataclass_json