🛠️ Fixed path length sanitation. Also refactored the path helper to use pathlib.Path instead of str. Fixed #358

This commit is contained in:
Robert Honz
2025-02-28 16:57:18 +01:00
parent 56aff8fa19
commit 7a4d6ceae7
3 changed files with 82 additions and 57 deletions
+1
View File
@@ -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):