add media session/mpris

This commit is contained in:
Kendall Garner 2023-05-22 21:11:26 -07:00 committed by Jeff
parent 76805a0b19
commit 97ccf3bc6d
4 changed files with 105 additions and 11 deletions

View file

@ -130,7 +130,7 @@ ipcMain.on(
}
if (shuffle) {
mprisPlayer.shuffle = shuffle;
mprisPlayer.shuffle = shuffle !== 'none';
}
if (!song) return;