Fixed issues with the TrackList interface
This commit is contained in:
@@ -293,7 +293,7 @@ class LibremsonicApp(Gtk.Application):
|
||||
for k, v in metadata.items()
|
||||
})
|
||||
|
||||
return GLib.Variant('aa{sv}', metadatas)
|
||||
return GLib.Variant('(aa{sv})', (metadatas,))
|
||||
|
||||
method_call_map = {
|
||||
'org.mpris.MediaPlayer2': {
|
||||
|
@@ -210,7 +210,7 @@ class DBusManager:
|
||||
True,
|
||||
},
|
||||
'org.mpris.MediaPlayer2.TrackList': {
|
||||
'Tracks': state.play_queue,
|
||||
'Tracks': ['/' + i for i in state.play_queue],
|
||||
'CanEditTracks': False,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user