Add ability to control/view volume on MPRIS (#1519)
This commit is contained in:
parent
577bdb2458
commit
56dd78d734
2 changed files with 8 additions and 0 deletions
|
@ -1246,6 +1246,7 @@ const app = new Vue({
|
|||
|
||||
this.mk.addEventListener(MusicKit.Events.playbackVolumeDidChange, (_a) => {
|
||||
this.cfg.audio.volume = this.mk.volume;
|
||||
ipcRenderer.send("mpris:volumeChange", this.mk.volume);
|
||||
});
|
||||
|
||||
this.refreshPlaylists(this.isDev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue