Fix wrong warning about ignored NowPlaying
This commit is contained in:
parent
a7509c9ff7
commit
8af7dab23d
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ func (c *Client) UpdateNowPlaying(ctx context.Context, sessionKey string, info S
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
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,
|
log.Warn(ctx, "LastFM: NowPlaying was ignored", "code", resp.NowPlaying.IgnoredMessage.Code,
|
||||||
"text", resp.NowPlaying.IgnoredMessage.Text)
|
"text", resp.NowPlaying.IgnoredMessage.Text)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue