5252EXPORT_M3U8 = 'EXPORT_M3U8'
5353LIKED_SONGS_ARCHIVE_M3U8 = 'LIKED_SONGS_ARCHIVE_M3U8'
5454ALBUM_ART_JPG_FILE = 'ALBUM_ART_JPG_FILE'
55-
55+ MAX_FILENAME_LENGTH = 'MAX_FILENAME_LENGTH'
5656
5757CONFIG_VALUES = {
5858 ROOT_PATH : { 'default' : '~/Music/Zotify Music' , 'type' : str , 'arg' : ('-rp' , '--root-path' ,) },
7777 EXPORT_M3U8 : { 'default' : 'False' , 'type' : bool , 'arg' : ('-e, --export-m3u8' ,) },
7878 LIKED_SONGS_ARCHIVE_M3U8 : { 'default' : 'True' , 'type' : bool , 'arg' : ('--liked-songs-archive-m3u8' ,) },
7979 ROOT_PODCAST_PATH : { 'default' : '~/Music/Zotify Podcasts' , 'type' : str , 'arg' : ('-rpp' , '--root-podcast-path' ,) },
80+ MAX_FILENAME_LENGTH : { 'default' : '0' , 'type' : int , 'arg' : ('--max-filename-length' ,) },
8081 TEMP_DOWNLOAD_DIR : { 'default' : '' , 'type' : str , 'arg' : ('-td' , '--temp-download-dir' ,) },
8182 DOWNLOAD_FORMAT : { 'default' : 'copy' , 'type' : str , 'arg' : ('--codec' , '--download-format' ,) },
8283 DOWNLOAD_QUALITY : { 'default' : 'auto' , 'type' : str , 'arg' : ('-q' , '--download-quality' ,) },
@@ -409,4 +410,8 @@ def get_liked_songs_archive_m3u8(cls) -> bool:
409410
410411 @classmethod
411412 def get_album_art_jpg_file (cls ) -> bool :
412- return cls .get (ALBUM_ART_JPG_FILE )
413+ return cls .get (ALBUM_ART_JPG_FILE )
414+
415+ @classmethod
416+ def get_max_filename_length (cls ) -> int :
417+ return cls .get (MAX_FILENAME_LENGTH )
0 commit comments