Add ability to control/view volume on MPRIS

This commit is contained in:
Kendall Garner 2022-10-16 20:04:29 -04:00
parent 4b2513330c
commit 9714bc5a91
No known key found for this signature in database
GPG key ID: 18D2767419676C87
2 changed files with 8 additions and 0 deletions

View file

@ -1233,6 +1233,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);