summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/model
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2024-12-15 23:35:31 +0100
committerGitHub <noreply@github.com>2024-12-15 23:35:31 +0100
commitc4b5ae1cb92f305eca6e111f2816629977cbf3ad (patch)
treecb5ec1765386c3e08bf90fa82103341c1c8bb1d3 /tidal_dl_ng/model
parent62c32f19a4bbf708e6330f3c89813de1c1883ad1 (diff)
parent5768edacc57fd29bf2ef182cb9db312d4aebb468 (diff)
downloadtidal-dl-ng-c4b5ae1cb92f305eca6e111f2816629977cbf3ad.tar.gz
Merge pull request #281 from exislow/180-feature-multi-threaded-downloads-download-album-covers
✨ Multithreaded downloads implemented (for Playlists, Albums etc.). F…
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