Include a shared Last.FM api key, providing zero conf ArtistInfo (bio/top songs/similar artists)

This commit is contained in:
Deluan
2021-05-27 16:14:24 -04:00
parent db11b6b8f8
commit b398053223
5 changed files with 50 additions and 10 deletions
-1
View File
@@ -84,7 +84,6 @@ func (s *spotifyAgent) searchArtist(name string) (*spotify.Artist, error) {
func init() {
conf.AddHook(func() {
if conf.Server.Spotify.ID != "" && conf.Server.Spotify.Secret != "" {
log.Info("Spotify integration is ENABLED")
Register(spotifyAgentName, spotifyConstructor)
}
})