Commit b8ba7cf8 authored by Jean Felder's avatar Jean Felder Committed by Jean Felder

mpris: Add Playlists interface to xml description

parent 89de4a7b
......@@ -197,6 +197,24 @@ class MediaPlayer2Service(Server):
<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>
'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment