[gnome-music/wip/jfelder/mpris-cleanup: 11/28] 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: 11/28] mpris: Add Playlists interface to xml description
- Date: Wed, 20 Mar 2019 16:59:55 +0000 (UTC)
commit a2d2118c8696640e4ba68e0dd47bbe7f0464bd66
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 | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/gnomemusic/mpris.py b/gnomemusic/mpris.py
index 4719b498..4028cf3f 100644
--- a/gnomemusic/mpris.py
+++ b/gnomemusic/mpris.py
@@ -209,6 +209,23 @@ 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'>
+ </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]