mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-15 20:31:46 +00:00
Fix mpris player.loopStatus
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user