Fix no-repeat on mpv (#55)
This commit is contained in:
parent
549db7b1bf
commit
6218b27117
1 changed files with 1 additions and 2 deletions
|
@ -184,8 +184,7 @@ export const useCenterControls = (args: { playersRef: any }) => {
|
||||||
if (isLastTrack) {
|
if (isLastTrack) {
|
||||||
const playerData = setCurrentIndex(0);
|
const playerData = setCurrentIndex(0);
|
||||||
mprisUpdateSong({ song: playerData.current.song, status: PlayerStatus.PAUSED });
|
mprisUpdateSong({ song: playerData.current.song, status: PlayerStatus.PAUSED });
|
||||||
mpvPlayer.setQueue(playerData);
|
mpvPlayer.setQueue(playerData, true);
|
||||||
mpvPlayer.pause();
|
|
||||||
pause();
|
pause();
|
||||||
} else {
|
} else {
|
||||||
const playerData = autoNext();
|
const playerData = autoNext();
|
||||||
|
|
Reference in a new issue