🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fix wrong warning about ignored NowPlaying
Deluan8af7dab23dea
diff --git a/core/agents/lastfm/client.go b/core/agents/lastfm/client.goindex cf7534da3..22f699271 100644--- a/core/agents/lastfm/client.go+++ b/core/agents/lastfm/client.go@@ -133,7 +133,7 @@ func (c *Client) UpdateNowPlaying(ctx context.Context, sessionKey string, info Sif err != nil {return err}- if resp.NowPlaying.IgnoredMessage.Code != "" {+ if resp.NowPlaying.IgnoredMessage.Code != "0" {log.Warn(ctx, "LastFM: NowPlaying was ignored", "code", resp.NowPlaying.IgnoredMessage.Code,"text", resp.NowPlaying.IgnoredMessage.Text)}