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/download.py | |
| 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/download.py')
| -rw-r--r-- | tidal_dl_ng/download.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py index 9098ed1..83d8743 100644 --- a/tidal_dl_ng/download.py +++ b/tidal_dl_ng/download.py @@ -299,7 +299,7 @@ class Download: # Create file name and path file_extension_dummy: str = AudioExtensions.FLAC - file_name_relative = format_path_media(file_template, media) + file_name_relative = format_path_media(file_template, media, self.settings.data.album_track_num_pad_min) path_media_dst: pathlib.Path = ( (pathlib.Path(self.path_base).expanduser() / (file_name_relative + file_extension_dummy)) .resolve() @@ -596,7 +596,7 @@ class Download: raise MediaMissing # Create file name and path - file_name_relative = format_path_media(file_template, media) + file_name_relative = format_path_media(file_template, media, self.settings.data.album_track_num_pad_min) # Get the name of the list and check, if videos should be included. list_media_name: str = name_builder_title(media) |
