From 7a4d6ceae776a8b9910902ca779f25ce2b78e558 Mon Sep 17 00:00:00 2001 From: Robert Honz Date: Fri, 28 Feb 2025 16:57:18 +0100 Subject: 🛠️ Fixed path length sanitation. Also refactored the path helper to use `pathlib.Path` instead of str. Fixed #358 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tidal_dl_ng/constants.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tidal_dl_ng/constants.py') 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): -- cgit v1.3.1