summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/download.py
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2025-08-13 08:17:55 +0200
committerGitHub <noreply@github.com>2025-08-13 08:17:55 +0200
commit1b534dc37a50775cd4168f164d4e6b3c0c2e3f3d (patch)
treed72769d332592460899441abd32c8644894d657c /tidal_dl_ng/download.py
parent0d8bc88f96e4e60b258f3b88b19f9114c2ef99c6 (diff)
parent8dd75897e3c138826893cb99822dbeebc8efc54c (diff)
downloadtidal-dl-ng-1b534dc37a50775cd4168f164d4e6b3c0c2e3f3d.tar.gz
Merge pull request #505 from exislow/playlist-create-file-type-fix
refactor(constants): streamline enums and enhance type annotations
Diffstat (limited to 'tidal_dl_ng/download.py')
-rw-r--r--tidal_dl_ng/download.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tidal_dl_ng/download.py b/tidal_dl_ng/download.py
index cf95df8..56c3099 100644
--- a/tidal_dl_ng/download.py
+++ b/tidal_dl_ng/download.py
@@ -38,6 +38,7 @@ from tidal_dl_ng.constants import (
PLAYLIST_EXTENSION,
PLAYLIST_PREFIX,
REQUESTS_TIMEOUT_SEC,
+ AudioExtensionsValid,
CoverDimensions,
MediaType,
QualityVideo,
@@ -1496,7 +1497,7 @@ class Download:
# Get all tracks in the directory
path_tracks: list[pathlib.Path] = []
- for extension_audio in AudioExtensions:
+ for extension_audio in AudioExtensionsValid:
path_tracks = path_tracks + list(dir_scoped.glob(f"*{extension_audio!s}"))
# Sort alphabetically, e.g. if items are prefixed with numbers