Sort defaults alphabetically

This commit is contained in:
Lukáš Kucharczyk 2024-07-29 17:53:37 +02:00
parent 5f978acec7
commit 1dc0d470dd
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 60 additions and 60 deletions

View File

@ -21,86 +21,86 @@ class FeaturesOption():
MOVE_TITLE = "2" # Move to track title MOVE_TITLE = "2" # Move to track title
DEFAULTS = { DEFAULTS = {
"downloadLocation": str(localpaths.getMusicFolder()),
"tracknameTemplate": "%artist% - %title%",
"albumTracknameTemplate": "%tracknumber% - %title%",
"playlistTracknameTemplate": "%position% - %artist% - %title%",
"createPlaylistFolder": True,
"playlistNameTemplate": "%playlist%",
"createArtistFolder": False,
"artistNameTemplate": "%artist%",
"createAlbumFolder": True,
"albumNameTemplate": "%artist% - %album%", "albumNameTemplate": "%artist% - %album%",
"albumTracknameTemplate": "%tracknumber% - %title%",
"albumVariousArtists": True,
"artistCasing": "nothing",
"artistImageTemplate": "folder",
"artistNameTemplate": "%artist%",
"coverImageTemplate": "cover",
"createAlbumFolder": True,
"createArtistFolder": False,
"createCDFolder": True, "createCDFolder": True,
"createStructurePlaylist": False, "createM3U8File": False,
"createPlaylistFolder": True,
"createSingleFolder": False, "createSingleFolder": False,
"padTracks": True, "createStructurePlaylist": False,
"paddingSize": "0", "dateFormat": "Y-M-D",
"illegalCharacterReplacer": "_", "downloadLocation": str(localpaths.getMusicFolder()),
"queueConcurrency": 3, "embeddedArtworkPNG": False,
"maxBitrate": str(TrackFormats.MP3_320), "embeddedArtworkSize": 800,
"feelingLucky": False, "executeCommand": "",
"fallbackBitrate": False, "fallbackBitrate": False,
"fallbackSearch": False,
"fallbackISRC": False, "fallbackISRC": False,
"fallbackSearch": False,
"featuredToTitle": FeaturesOption.NO_CHANGE,
"feelingLucky": False,
"illegalCharacterReplacer": "_",
"jpegImageQuality": 90,
"localArtworkFormat": "jpg",
"localArtworkSize": 1400,
"logErrors": True, "logErrors": True,
"logSearched": False, "logSearched": False,
"maxBitrate": str(TrackFormats.MP3_320),
"overwriteFile": OverwriteOption.DONT_OVERWRITE, "overwriteFile": OverwriteOption.DONT_OVERWRITE,
"createM3U8File": False, "paddingSize": "0",
"padTracks": True,
"playlistFilenameTemplate": "playlist", "playlistFilenameTemplate": "playlist",
"syncedLyrics": False, "playlistNameTemplate": "%playlist%",
"embeddedArtworkSize": 800, "playlistTracknameTemplate": "%position% - %artist% - %title%",
"embeddedArtworkPNG": False, "queueConcurrency": 3,
"localArtworkSize": 1400,
"localArtworkFormat": "jpg",
"saveArtwork": True,
"coverImageTemplate": "cover",
"saveArtworkArtist": False,
"artistImageTemplate": "folder",
"jpegImageQuality": 90,
"dateFormat": "Y-M-D",
"albumVariousArtists": True,
"removeAlbumVersion": False, "removeAlbumVersion": False,
"removeDuplicateArtists": True, "removeDuplicateArtists": True,
"featuredToTitle": FeaturesOption.NO_CHANGE, "saveArtwork": True,
"titleCasing": "nothing", "saveArtworkArtist": False,
"artistCasing": "nothing", "syncedLyrics": False,
"executeCommand": "",
"tags": { "tags": {
"title": True, "album": True,
"albumArtist": True,
"artist": True, "artist": True,
"artists": True, "artists": True,
"album": True,
"cover": True,
"trackNumber": True,
"trackTotal": False,
"discNumber": True,
"discTotal": False,
"albumArtist": True,
"genre": True,
"year": True,
"date": True,
"explicit": False,
"isrc": True,
"length": True,
"barcode": True, "barcode": True,
"bpm": True, "bpm": True,
"replayGain": False,
"label": True,
"lyrics": False,
"syncedLyrics": False,
"copyright": False,
"composer": False, "composer": False,
"copyright": False,
"cover": True,
"coverDescriptionUTF8": False,
"date": True,
"discNumber": True,
"discTotal": False,
"explicit": False,
"genre": True,
"involvedPeople": False, "involvedPeople": False,
"source": False, "isrc": True,
"rating": False, "label": True,
"savePlaylistAsCompilation": False, "length": True,
"useNullSeparator": False, "lyrics": False,
"saveID3v1": True,
"multiArtistSeparator": "default", "multiArtistSeparator": "default",
"rating": False,
"replayGain": False,
"saveID3v1": True,
"savePlaylistAsCompilation": False,
"singleAlbumArtist": False, "singleAlbumArtist": False,
"coverDescriptionUTF8": False "source": False,
} "syncedLyrics": False,
"title": True,
"trackNumber": True,
"trackTotal": False,
"useNullSeparator": False,
"year": True,
},
"titleCasing": "nothing",
"tracknameTemplate": "%artist% - %title%",
} }
def save(settings, configFolder=None): def save(settings, configFolder=None):