diff --git a/src/hooks/usePlayerControls.ts b/src/hooks/usePlayerControls.ts index ee9d037..c8b3f3f 100644 --- a/src/hooks/usePlayerControls.ts +++ b/src/hooks/usePlayerControls.ts @@ -70,6 +70,8 @@ const usePlayerControls = ( playersRef.current.player2.audioEl.current.volume = 0; playersRef.current.player2.audioEl.current.pause(); + ipcRenderer.send('seeked', 0); + if (config.serverType === Server.Jellyfin && playQueue.scrobble) { apiController({ serverType: config.serverType, @@ -91,6 +93,8 @@ const usePlayerControls = ( playersRef.current.player1.audioEl.current.volume = 0; playersRef.current.player1.audioEl.current.pause(); + ipcRenderer.send('seeked', 0); + if (config.serverType === Server.Jellyfin && playQueue.scrobble) { apiController({ serverType: config.serverType,