Add ability to control/view volume on MPRIS (#1519)

This commit is contained in:
Kendall Garner 2022-10-17 05:10:49 +00:00 committed by GitHub
parent 577bdb2458
commit 56dd78d734
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -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);