Disable Last.FM features based on LastFM.Enabled config option

This commit is contained in:
Deluan 2021-07-02 09:50:07 -04:00
parent 289da56f64
commit cfb113bd33
9 changed files with 9 additions and 20 deletions

View file

@ -70,7 +70,6 @@ type configOptions struct {
DevOldCacheLayout bool
DevActivityPanel bool
DevEnableShare bool
DevEnableScrobble bool
}
type scannerOptions struct {
@ -230,7 +229,6 @@ func init() {
viper.SetDefault("devfastaccesscoverart", false)
viper.SetDefault("devactivitypanel", true)
viper.SetDefault("devenableshare", false)
viper.SetDefault("devenablescrobble", true)
}
func InitConfig(cfgFile string) {