Fix mpris player.loopStatus

This commit is contained in:
Jonathan Müller
2023-10-14 21:03:06 +02:00
parent b316aa2301
commit f8ccb86156

View File

@ -51,11 +51,11 @@ function registerMPRIS(win: BrowserWindow) {
break;
}
case 'ONE': {
player.loopStatus = mpris.LOOP_STATUS_PLAYLIST;
player.loopStatus = mpris.LOOP_STATUS_TRACK;
break;
}
case 'ALL': {
player.loopStatus = mpris.LOOP_STATUS_TRACK;
player.loopStatus = mpris.LOOP_STATUS_PLAYLIST;
// No default
break;
}