diff options
| author | Robert Honz <exislow+github@gmail.com> | 2025-02-28 16:57:18 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2025-02-28 16:57:18 +0100 |
| commit | 7a4d6ceae776a8b9910902ca779f25ce2b78e558 (patch) | |
| tree | 1a8d330f98bf935fa13702dfd2bb4e51347505af /tidal_dl_ng/constants.py | |
| parent | 56aff8fa19ef801c0582dbe37d2e689024303ed5 (diff) | |
| download | tidal-dl-ng-7a4d6ceae776a8b9910902ca779f25ce2b78e558.tar.gz | |
🛠️ Fixed path length sanitation. Also refactored the path helper to use `pathlib.Path` instead of str. Fixed #358
Diffstat (limited to 'tidal_dl_ng/constants.py')
| -rw-r--r-- | tidal_dl_ng/constants.py | 1 |
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): |
