Add flag to disable Scrobble config in the UI

This commit is contained in:
Deluan
2021-06-10 21:04:26 -04:00
committed by Deluan Quintão
parent a4f91b74d2
commit ffa76bba6a
6 changed files with 60 additions and 0 deletions
+2
View File
@@ -69,6 +69,7 @@ type configOptions struct {
DevOldCacheLayout bool
DevActivityPanel bool
DevEnableShare bool
DevEnableScrobble bool
}
type scannerOptions struct {
@@ -227,6 +228,7 @@ func init() {
viper.SetDefault("devFastAccessCoverArt", false)
viper.SetDefault("devactivitypanel", true)
viper.SetDefault("devenableshare", false)
viper.SetDefault("devenablescrobble", false)
}
func InitConfig(cfgFile string) {