Include a shared Last.FM api key, providing zero conf ArtistInfo (bio/top songs/similar artists)
This commit is contained in:
@@ -71,6 +71,7 @@ type scannerOptions struct {
|
||||
}
|
||||
|
||||
type lastfmOptions struct {
|
||||
Enabled bool
|
||||
ApiKey string
|
||||
Secret string
|
||||
Language string
|
||||
@@ -196,6 +197,7 @@ func init() {
|
||||
|
||||
viper.SetDefault("scanner.extractor", "taglib")
|
||||
viper.SetDefault("agents", "lastfm,spotify")
|
||||
viper.SetDefault("lastfm.enabled", true)
|
||||
viper.SetDefault("lastfm.language", "en")
|
||||
viper.SetDefault("lastfm.apikey", "")
|
||||
viper.SetDefault("lastfm.secret", "")
|
||||
|
||||
Reference in New Issue
Block a user