From 8c4c4f8e74f81a6f3a0aafdefbbf94730b57191a Mon Sep 17 00:00:00 2001 From: Erica Z Date: Sat, 26 Oct 2024 09:26:17 +0200 Subject: [PATCH] make mpv call its audio output audrey --- src/playbin.vala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playbin.vala b/src/playbin.vala index dcb4b4d..21cca2c 100644 --- a/src/playbin.vala +++ b/src/playbin.vala @@ -74,6 +74,7 @@ public class Playbin : GLib.Object { this._play_queue = new ListStore (typeof (Subsonic.Song)); assert (this.mpv.initialize () >= 0); + assert (this.mpv.set_property_string ("audio-client-name", "audrey") >= 0); assert (this.mpv.set_property_string ("user-agent", Audrey.Const.user_agent) >= 0); assert (this.mpv.set_property_string ("video", "no") >= 0); assert (this.mpv.set_property_string ("prefetch-playlist", "yes") >= 0);