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; break;
} }
case 'ONE': { case 'ONE': {
player.loopStatus = mpris.LOOP_STATUS_PLAYLIST; player.loopStatus = mpris.LOOP_STATUS_TRACK;
break; break;
} }
case 'ALL': { case 'ALL': {
player.loopStatus = mpris.LOOP_STATUS_TRACK; player.loopStatus = mpris.LOOP_STATUS_PLAYLIST;
// No default // No default
break; break;
} }