✨ Multithreaded downloads implemented (for Playlists, Albums etc.). Fixes #180

This commit is contained in:
Robert Honz
2024-12-15 23:35:10 +01:00
parent 62c32f19a4
commit 5768edacc5
5 changed files with 80 additions and 19 deletions
+4 -2
View File
@@ -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