mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 04:51:06 +02:00
[bugfix]: update mpris volume when set by mpris
This commit is contained in:
@@ -70,6 +70,8 @@ mprisPlayer.on('volume', (vol: number) => {
|
||||
getMainWindow()?.webContents.send('request-volume', {
|
||||
volume,
|
||||
});
|
||||
|
||||
mprisPlayer.volume = volume / 100;
|
||||
});
|
||||
|
||||
mprisPlayer.on('shuffle', (event: boolean) => {
|
||||
|
||||
Reference in New Issue
Block a user