1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 03:09:57 +01:00
Clementine-audio-player-Mac.../data/org.freedesktop.MediaPlayer.tracklist.xml
John Maguire a8a37264f7 Add MPRIS support (thanks Amarok ;-)
Fixes issue #29

Example command lines:
dbus-send --print-reply --dest=org.mpris.clementine /Player org.freedesktop.MediaPlayer.Play
dbus-send --print-reply --dest=org.mpris.clementine / org.freedesktop.MediaPlayer.Identity
dbus-send --print-reply --dest=org.mpris.clementine /TrackList org.freedesktop.MediaPlayer.GetCurrentTrack
dbus-send --print-reply --dest=org.mpris.clementine /TrackList org.freedesktop.MediaPlayer.GetMetadata int32:0
2010-03-24 20:58:17 +00:00

49 lines
1.1 KiB
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.MediaPlayer">
<method name="GetMetadata">
<arg type="i" direction="in" />
<arg type="a{sv}" direction="out" />
<annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
</method>
<method name="GetCurrentTrack">
<arg type="i" direction="out" />
</method>
<method name="GetLength">
<arg type="i" direction="out" />
</method>
<method name="AddTrack">
<arg type="s" direction="in" />
<arg type="b" direction="in" />
<arg type="i" direction="out" />
</method>
<method name="DelTrack">
<arg type="i" />
</method>
<method name="SetLoop">
<arg type="b" />
</method>
<method name="SetRandom">
<arg type="b" />
</method>
<method name="PlayTrack">
<arg type="i" />
</method>
<signal name="TrackListChange">
<arg type="i" />
</signal>
</interface>
</node>