From d2f5a564e773a4d6ee484e8bcb34f4f2040849c9 Mon Sep 17 00:00:00 2001 From: psykose Date: Fri, 18 Oct 2024 02:48:42 +0200 Subject: [PATCH] don't advertise mpris until it's implemented --- src/ui/window.vala | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/ui/window.vala b/src/ui/window.vala index 6ba084d..bfd3e42 100644 --- a/src/ui/window.vala +++ b/src/ui/window.vala @@ -32,19 +32,19 @@ class Ui.Window : Adw.ApplicationWindow { } construct { - Bus.own_name ( - BusType.SESSION, - "org.mpris.MediaPlayer2.audrey", - BusNameOwnerFlags.NONE, - (conn) => { - try { - // TODO: mpris - } catch (IOError e) { - error ("could not register dbus service: %s", e.message); - } - }, - () => {}, - () => { error ("could not acquire dbus name"); }); + // TODO: mpris + // Bus.own_name ( + // BusType.SESSION, + // "org.mpris.MediaPlayer2.audrey", + // BusNameOwnerFlags.NONE, + // (conn) => { + // try { + // } catch (IOError e) { + // error ("could not register dbus service: %s", e.message); + // } + // }, + // () => {}, + // () => { error ("could not acquire dbus name"); }); this.playbin.play_queue = this.play_queue_store;