diff options
| author | exislow <exislow@users.noreply.github.com> | 2024-12-15 20:37:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-15 20:37:37 +0100 |
| commit | 62c32f19a4bbf708e6330f3c89813de1c1883ad1 (patch) | |
| tree | c21ef40900e9c596147f93bf3da3881557fdf3c3 /tidal_dl_ng/model | |
| parent | 94e7ef0e95f696f11fb1ad7062cd3c1973cd3876 (diff) | |
| parent | b8091e233b666b9920e333918e465a25db64de7b (diff) | |
| download | tidal-dl-ng-62c32f19a4bbf708e6330f3c89813de1c1883ad1.tar.gz | |
Merge pull request #280 from exislow/142-help-any-way-to-set-2-digits-for-track-number
✨ Album track number padding can be set. Fixes #142
Diffstat (limited to 'tidal_dl_ng/model')
| -rw-r--r-- | tidal_dl_ng/model/cfg.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tidal_dl_ng/model/cfg.py b/tidal_dl_ng/model/cfg.py index 06614f4..bf01814 100644 --- a/tidal_dl_ng/model/cfg.py +++ b/tidal_dl_ng/model/cfg.py @@ -40,6 +40,7 @@ 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 @dataclass_json @@ -82,8 +83,11 @@ 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." + 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." + ) @dataclass_json |
