mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed some return types in MPRIS interface
This commit is contained in:
parent
c1b8fd211c
commit
2b150f8a19
@ -185,8 +185,8 @@ class MPRISInterface: # TODO emit Seeked if needed
|
|||||||
"HasTrackList": (GLib.Variant("b", False), None),
|
"HasTrackList": (GLib.Variant("b", False), None),
|
||||||
"Identity": (GLib.Variant("s", "mpdevil"), None),
|
"Identity": (GLib.Variant("s", "mpdevil"), None),
|
||||||
"DesktopEntry": (GLib.Variant("s", "org.mpdevil.mpdevil"), None),
|
"DesktopEntry": (GLib.Variant("s", "org.mpdevil.mpdevil"), None),
|
||||||
"SupportedUriSchemes": (GLib.Variant("s", "None"), None),
|
"SupportedUriSchemes": (GLib.Variant("as", []), None),
|
||||||
"SupportedMimeTypes": (GLib.Variant("s", "None"), None)},
|
"SupportedMimeTypes": (GLib.Variant("as", []), None)},
|
||||||
self._MPRIS_PLAYER_IFACE:
|
self._MPRIS_PLAYER_IFACE:
|
||||||
{"PlaybackStatus": (self._get_playback_status, None),
|
{"PlaybackStatus": (self._get_playback_status, None),
|
||||||
"LoopStatus": (self._get_loop_status, self._set_loop_status),
|
"LoopStatus": (self._get_loop_status, self._set_loop_status),
|
||||||
|
Loading…
Reference in New Issue
Block a user