Fix no-repeat on mpv (#55)

This commit is contained in:
jeffvli 2023-05-21 16:43:47 -07:00
parent 549db7b1bf
commit 6218b27117

View file

@ -184,8 +184,7 @@ export const useCenterControls = (args: { playersRef: any }) => {
if (isLastTrack) {
const playerData = setCurrentIndex(0);
mprisUpdateSong({ song: playerData.current.song, status: PlayerStatus.PAUSED });
mpvPlayer.setQueue(playerData);
mpvPlayer.pause();
mpvPlayer.setQueue(playerData, true);
pause();
} else {
const playerData = autoNext();