don't advertise mpris until it's implemented
This commit is contained in:
parent
1037005133
commit
d2f5a564e7
1 changed files with 13 additions and 13 deletions
|
@ -32,19 +32,19 @@ class Ui.Window : Adw.ApplicationWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
construct {
|
construct {
|
||||||
Bus.own_name (
|
// TODO: mpris
|
||||||
BusType.SESSION,
|
// Bus.own_name (
|
||||||
"org.mpris.MediaPlayer2.audrey",
|
// BusType.SESSION,
|
||||||
BusNameOwnerFlags.NONE,
|
// "org.mpris.MediaPlayer2.audrey",
|
||||||
(conn) => {
|
// BusNameOwnerFlags.NONE,
|
||||||
try {
|
// (conn) => {
|
||||||
// TODO: mpris
|
// try {
|
||||||
} catch (IOError e) {
|
// } catch (IOError e) {
|
||||||
error ("could not register dbus service: %s", e.message);
|
// error ("could not register dbus service: %s", e.message);
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
() => {},
|
// () => {},
|
||||||
() => { error ("could not acquire dbus name"); });
|
// () => { error ("could not acquire dbus name"); });
|
||||||
|
|
||||||
this.playbin.play_queue = this.play_queue_store;
|
this.playbin.play_queue = this.play_queue_store;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue