[bugfix]: update mpris volume when set by mpris

This commit is contained in:
Kendall Garner 2024-02-07 20:51:07 -08:00
parent 49cbef729b
commit 92478b5ca5
No known key found for this signature in database
GPG key ID: 18D2767419676C87
2 changed files with 6 additions and 4 deletions

View file

@ -70,6 +70,8 @@ mprisPlayer.on('volume', (vol: number) => {
getMainWindow()?.webContents.send('request-volume', {
volume,
});
mprisPlayer.volume = volume / 100;
});
mprisPlayer.on('shuffle', (event: boolean) => {