Sort defaults alphabetically
This commit is contained in:
parent
5f978acec7
commit
1dc0d470dd
|
@ -21,86 +21,86 @@ class FeaturesOption():
|
|||
MOVE_TITLE = "2" # Move to track title
|
||||
|
||||
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%",
|
||||
"albumTracknameTemplate": "%tracknumber% - %title%",
|
||||
"albumVariousArtists": True,
|
||||
"artistCasing": "nothing",
|
||||
"artistImageTemplate": "folder",
|
||||
"artistNameTemplate": "%artist%",
|
||||
"coverImageTemplate": "cover",
|
||||
"createAlbumFolder": True,
|
||||
"createArtistFolder": False,
|
||||
"createCDFolder": True,
|
||||
"createStructurePlaylist": False,
|
||||
"createM3U8File": False,
|
||||
"createPlaylistFolder": True,
|
||||
"createSingleFolder": False,
|
||||
"padTracks": True,
|
||||
"paddingSize": "0",
|
||||
"illegalCharacterReplacer": "_",
|
||||
"queueConcurrency": 3,
|
||||
"maxBitrate": str(TrackFormats.MP3_320),
|
||||
"feelingLucky": False,
|
||||
"createStructurePlaylist": False,
|
||||
"dateFormat": "Y-M-D",
|
||||
"downloadLocation": str(localpaths.getMusicFolder()),
|
||||
"embeddedArtworkPNG": False,
|
||||
"embeddedArtworkSize": 800,
|
||||
"executeCommand": "",
|
||||
"fallbackBitrate": False,
|
||||
"fallbackSearch": False,
|
||||
"fallbackISRC": False,
|
||||
"fallbackSearch": False,
|
||||
"featuredToTitle": FeaturesOption.NO_CHANGE,
|
||||
"feelingLucky": False,
|
||||
"illegalCharacterReplacer": "_",
|
||||
"jpegImageQuality": 90,
|
||||
"localArtworkFormat": "jpg",
|
||||
"localArtworkSize": 1400,
|
||||
"logErrors": True,
|
||||
"logSearched": False,
|
||||
"maxBitrate": str(TrackFormats.MP3_320),
|
||||
"overwriteFile": OverwriteOption.DONT_OVERWRITE,
|
||||
"createM3U8File": False,
|
||||
"paddingSize": "0",
|
||||
"padTracks": True,
|
||||
"playlistFilenameTemplate": "playlist",
|
||||
"syncedLyrics": False,
|
||||
"embeddedArtworkSize": 800,
|
||||
"embeddedArtworkPNG": False,
|
||||
"localArtworkSize": 1400,
|
||||
"localArtworkFormat": "jpg",
|
||||
"saveArtwork": True,
|
||||
"coverImageTemplate": "cover",
|
||||
"saveArtworkArtist": False,
|
||||
"artistImageTemplate": "folder",
|
||||
"jpegImageQuality": 90,
|
||||
"dateFormat": "Y-M-D",
|
||||
"albumVariousArtists": True,
|
||||
"playlistNameTemplate": "%playlist%",
|
||||
"playlistTracknameTemplate": "%position% - %artist% - %title%",
|
||||
"queueConcurrency": 3,
|
||||
"removeAlbumVersion": False,
|
||||
"removeDuplicateArtists": True,
|
||||
"featuredToTitle": FeaturesOption.NO_CHANGE,
|
||||
"titleCasing": "nothing",
|
||||
"artistCasing": "nothing",
|
||||
"executeCommand": "",
|
||||
"saveArtwork": True,
|
||||
"saveArtworkArtist": False,
|
||||
"syncedLyrics": False,
|
||||
"tags": {
|
||||
"title": True,
|
||||
"album": True,
|
||||
"albumArtist": True,
|
||||
"artist": 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,
|
||||
"bpm": True,
|
||||
"replayGain": False,
|
||||
"label": True,
|
||||
"lyrics": False,
|
||||
"syncedLyrics": False,
|
||||
"copyright": False,
|
||||
"composer": False,
|
||||
"copyright": False,
|
||||
"cover": True,
|
||||
"coverDescriptionUTF8": False,
|
||||
"date": True,
|
||||
"discNumber": True,
|
||||
"discTotal": False,
|
||||
"explicit": False,
|
||||
"genre": True,
|
||||
"involvedPeople": False,
|
||||
"source": False,
|
||||
"rating": False,
|
||||
"savePlaylistAsCompilation": False,
|
||||
"useNullSeparator": False,
|
||||
"saveID3v1": True,
|
||||
"isrc": True,
|
||||
"label": True,
|
||||
"length": True,
|
||||
"lyrics": False,
|
||||
"multiArtistSeparator": "default",
|
||||
"rating": False,
|
||||
"replayGain": False,
|
||||
"saveID3v1": True,
|
||||
"savePlaylistAsCompilation": 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):
|
||||
|
|
Loading…
Reference in New Issue