mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
[bugfix]: update mpris volume when set by mpris
This commit is contained in:
parent
49cbef729b
commit
92478b5ca5
2 changed files with 6 additions and 4 deletions
|
|
@ -70,6 +70,8 @@ mprisPlayer.on('volume', (vol: number) => {
|
|||
getMainWindow()?.webContents.send('request-volume', {
|
||||
volume,
|
||||
});
|
||||
|
||||
mprisPlayer.volume = volume / 100;
|
||||
});
|
||||
|
||||
mprisPlayer.on('shuffle', (event: boolean) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue