fix now-playing status on listenbrainz endpoint and add config support

This commit is contained in:
2026-02-28 16:08:46 -08:00
parent a2ffbbdce4
commit 7542eaf321
10 changed files with 103 additions and 22 deletions

View File

@@ -200,6 +200,10 @@ func GetNowPlaying(userId int) (NowPlaying, bool) {
if ok && np.SongName != "" {
return np, true
}
np, ok = platforms["listenbrainz"]
if ok && np.SongName != "" {
return np, true
}
return NowPlaying{}, false
}