show right control rating for subsonic servers

This commit is contained in:
Kendall Garner 2025-09-10 17:27:07 -07:00
parent 4328d8860e
commit 78dc89303d
No known key found for this signature in database
GPG key ID: 9355F387FE765C94

View file

@ -115,7 +115,9 @@ export const RightControls = () => {
};
const isSongDefined = Boolean(currentSong?.id);
const showRating = isSongDefined && server?.type === ServerType.NAVIDROME;
const showRating =
isSongDefined &&
(server?.type === ServerType.NAVIDROME || server?.type === ServerType.SUBSONIC);
useHotkeys([
[bindings.volumeDown.isGlobal ? '' : bindings.volumeDown.hotkey, handleVolumeDown],