summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/constants.py
diff options
context:
space:
mode:
authorexislow <exislow@users.noreply.github.com>2025-02-28 16:57:42 +0100
committerGitHub <noreply@github.com>2025-02-28 16:57:42 +0100
commit72f68ab73534f8c820de9388f101c3215d783f0e (patch)
tree1a8d330f98bf935fa13702dfd2bb4e51347505af /tidal_dl_ng/constants.py
parent56aff8fa19ef801c0582dbe37d2e689024303ed5 (diff)
parent7a4d6ceae776a8b9910902ca779f25ce2b78e558 (diff)
downloadtidal-dl-ng-72f68ab73534f8c820de9388f101c3215d783f0e.tar.gz
Merge pull request #376 from exislow/358-unable-to-download-album-with-too-many-artists
🛠️ Fixed path length sanitation. Also refactored the path helper to u…
Diffstat (limited to 'tidal_dl_ng/constants.py')
-rw-r--r--tidal_dl_ng/constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tidal_dl_ng/constants.py b/tidal_dl_ng/constants.py
index 7da2711..802fedf 100644
--- a/tidal_dl_ng/constants.py
+++ b/tidal_dl_ng/constants.py
@@ -11,6 +11,7 @@ BLOCKS: int = 1024
CHUNK_SIZE: int = BLOCK_SIZE * BLOCKS
PLAYLIST_EXTENSION: str = ".m3u"
PLAYLIST_PREFIX: str = "_"
+FILENAME_LENGTH_MAX: int = 255
class QualityVideo(StrEnum):