fixed some return types in MPRIS interface

This commit is contained in:
Martin Wagner 2023-02-27 23:38:11 +01:00
parent c1b8fd211c
commit 2b150f8a19

View File

@ -185,8 +185,8 @@ class MPRISInterface: # TODO emit Seeked if needed
"HasTrackList": (GLib.Variant("b", False), None),
"Identity": (GLib.Variant("s", "mpdevil"), None),
"DesktopEntry": (GLib.Variant("s", "org.mpdevil.mpdevil"), None),
"SupportedUriSchemes": (GLib.Variant("s", "None"), None),
"SupportedMimeTypes": (GLib.Variant("s", "None"), None)},
"SupportedUriSchemes": (GLib.Variant("as", []), None),
"SupportedMimeTypes": (GLib.Variant("as", []), None)},
self._MPRIS_PLAYER_IFACE:
{"PlaybackStatus": (self._get_playback_status, None),
"LoopStatus": (self._get_loop_status, self._set_loop_status),