Merge pull request #1317 from foonathan/fix-loop-status

This commit is contained in:
JellyBrick
2023-10-15 04:23:33 +09:00
committed by GitHub

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;
}