Download naming changes

This commit is contained in:
exttex 2020-09-01 16:41:15 +02:00
parent 37f97f9992
commit 4e5e3a3059
8 changed files with 260 additions and 104 deletions

View file

@ -36,10 +36,16 @@ class Settings {
//Download options
String downloadPath;
@JsonKey(defaultValue: DownloadNaming.DEFAULT)
DownloadNaming downloadNaming;
@JsonKey(defaultValue: "%artists% - %title%")
String downloadFilename;
@JsonKey(defaultValue: true)
bool downloadFolderStructure;
bool albumFolder;
@JsonKey(defaultValue: true)
bool artistFolder;
@JsonKey(defaultValue: false)
bool albumDiscFolder;
//Appearance
@JsonKey(defaultValue: Themes.Light)
@ -207,10 +213,4 @@ enum Themes {
Dark,
Deezer,
Black
}
enum DownloadNaming {
DEFAULT,
STANDALONE,
}