This repository was archived by the owner on Mar 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 " --socket=fallback-x11" ,
2323 " --socket=wayland" ,
2424 " --socket=pulseaudio" ,
25- " --env=GJS_DISABLE_JIT=1" ,
26- " --own-name=org.mpris.MediaPlayer2.Decibels"
25+ " --env=GJS_DISABLE_JIT=1"
2726 ],
2827 "cleanup" : [
2928 " /include" ,
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ export class MPRIS extends DBusInterface {
238238 private app = Gtk . Application . get_default ( ) ! ;
239239
240240 constructor ( public stream : APMediaStream ) {
241- super ( "org.mpris.MediaPlayer2.Decibels" , "/org/mpris/MediaPlayer2" ) ;
241+ super ( "org.mpris.MediaPlayer2." + pkg . name , "/org/mpris/MediaPlayer2" ) ;
242242
243243 this . stream . connect (
244244 "notify::title" ,
@@ -487,7 +487,7 @@ export class MPRIS extends DBusInterface {
487487 CanSetFullscreen : GLib . Variant . new_boolean ( false ) ,
488488 CanRaise : GLib . Variant . new_boolean ( true ) ,
489489 HasTrackList : GLib . Variant . new_boolean ( false ) ,
490- Identity : GLib . Variant . new_string ( "Decibels" ) ,
490+ Identity : GLib . Variant . new_string ( application_id ) ,
491491 DesktopEntry : GLib . Variant . new_string ( application_id ) ,
492492 SupportedUriSchemes : GLib . Variant . new_strv ( [ ] ) ,
493493 SupportedMimeTypes : GLib . Variant . new_strv ( [ ] ) ,
You can’t perform that action at this time.
0 commit comments