[gnome-music/wip/jfelder/mpris-cleanup: 17/41] mpris: Add Playlists interface to xml description
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/mpris-cleanup: 17/41] mpris: Add Playlists interface to xml description
- Date: Thu, 30 May 2019 17:25:48 +0000 (UTC)
commit a04adc8ea76dfb5f5af771a143172b6f669b409a
Author: Jean Felder <jfelder src gnome org>
Date: Thu Mar 14 16:52:41 2019 +0100
mpris: Add Playlists interface to xml description
gnomemusic/mpris.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 5a9f8584..766b1df6 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -208,6 +208,24 @@ class MPRIS(DBusInterface):
<property name='Tracks' type='ao' access='read'/>
<property name='CanEditTracks' type='b' access='read'/>
</interface>
+ <interface name='org.mpris.MediaPlayer2.Playlists'>
+ <method name='ActivatePlaylist'>
+ <arg direction="in" name="PlaylistId" type="o" />
+ </method>
+ <method name='GetPlaylists'>
+ <arg direction='in' name='Index' type='u' />
+ <arg direction='in' name='MaxCount' type='u' />
+ <arg direction='in' name='Order' type='s' />
+ <arg direction='in' name='ReverseOrder' type='b' />
+ <arg direction='out' name='Playlists' type='a(oss)' />
+ </method>
+ <property name='PlaylistCount' type='u' access='read' />
+ <property name='Orderings' type='as' access='read' />
+ <property name='ActivePlaylist' type='(b(oss))' access='read' />
+ <signal name='PlaylistChanged'>
+ <arg name='Playlist' type='(oss)' />
+ </signal>
+ </interface>
</node>
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]