fix inverted condition for progress scrobble after submission

This commit is contained in:
jeffvli
2026-07-19 12:26:16 -07:00
parent f9b9f9ab06
commit 749899cec0
@@ -185,9 +185,9 @@ export const useScrobble = () => {
// Because Jellyfin uses the stop event for submission, we need to send another // Because Jellyfin uses the stop event for submission, we need to send another
// progress update after submission so that the song continues to progress in the dashboard // progress update after submission so that the song continues to progress in the dashboard
const shouldSendProgress = const shouldSendProgress =
song._serverType !== ServerType.JELLYFIN || song._serverType === ServerType.JELLYFIN &&
activeSong?._uniqueId !== song._uniqueId || activeSong?._uniqueId === song._uniqueId &&
status !== PlayerStatus.PLAYING; status === PlayerStatus.PLAYING;
if (!shouldSendProgress) { if (!shouldSendProgress) {
return; return;