diff --git a/src/renderer/features/player/hooks/use-center-controls.ts b/src/renderer/features/player/hooks/use-center-controls.ts index 88311c145..24c60b0ee 100644 --- a/src/renderer/features/player/hooks/use-center-controls.ts +++ b/src/renderer/features/player/hooks/use-center-controls.ts @@ -191,8 +191,9 @@ export const useCenterControls = (args: { playersRef: any }) => { return mpvPlayer?.setQueueNext(playerData); } + const playerData = setRepeat(PlayerRepeat.NONE); remote?.updateRepeat(PlayerRepeat.NONE); - return setRepeat(PlayerRepeat.NONE); + return mpvPlayer?.setQueueNext(playerData); }, [repeatStatus, setRepeat]); const checkIsLastTrack = useCallback(() => {