empc/empd.xml

122 lines
5.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node name="/">
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg type="s" direction="out" />
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg type="s" direction="in" />
<arg type="s" direction="in" />
<arg type="v" direction="out" />
</method>
<method name="GetAll">
<arg type="s" direction="in" />
<arg type="a{sv}" direction="out" />
</method>
<method name="Set">
<arg type="s" direction="in" />
<arg type="s" direction="in" />
<arg type="v" direction="in" />
</method>
<signal name="PropertiesChanged">
<arg type="s" />
<arg type="a{sv}" />
<arg type="as" />
</signal>
</interface>
<interface name="org.empd.empc">
<method name="Status">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="CurrentSong">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Play">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Pause">
<arg type="b" name="mode" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="TogglePause">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Stop">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Next">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Previous">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Seek">
<arg type="u" name="songid" direction="in" />
<arg type="u" name="seconds" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="PlayId">
<arg type="u" name="songid" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="QueueList">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="QueueListRange">
<arg type="i" name="start" direction="in" />
<arg type="i" name="num" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="DeleteListRange">
<arg type="i" name="start" direction="in" />
<arg type="i" name="num" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<signal name="Status">
<arg type="i" name="volume" direction="out" /><!-- volume % -->
<arg type="b" name="repeat" direction="out" />
<arg type="b" name="random" direction="out" />
<arg type="b" name="single" direction="out" />
<arg type="b" name="consume" direction="out" />
<arg type="u" name="queue_version" direction="out" />
<arg type="u" name="queue_length" direction="out" />
<arg type="d" name="mixrampdb" direction="out" />
<arg type="u" name="state" direction="out" /><!-- MPD_STATE_UNKNOWN = 0, MPD_STATE_STOP, MPD_STATE_PLAY, MPD_STATE_PAUSE -->
<arg type="i" name="song_pos" direction="out" />
<arg type="i" name="songid" direction="out" />
<arg type="u" name="song_length" direction="out" />
<arg type="u" name="song_elapsed" direction="out" />
<arg type="u" name="bitrate" direction="out" />
<arg type="u" name="sample_rate" direction="out" />
<arg type="u" name="sample_bits" direction="out" />
<arg type="u" name="sample_channels" direction="out" />
<arg type="i" name="next_song_pos" direction="out" />
<arg type="i" name="next_songid" direction="out" />
</signal>
<signal name="CurrentSong">
<arg type="s" name="uri" direction="out" />
<arg type="t" name="last_modified" direction="out" />
<arg type="u" name="duration" direction="out" />
<arg type="s" name="artist" direction="out" />
<arg type="s" name="title" direction="out" />
<arg type="s" name="album" direction="out" />
<arg type="i" name="track" direction="out" />
<arg type="s" name="name" direction="out" />
<arg type="s" name="date" direction="out" />
<arg type="s" name="disc" direction="out" />
<arg type="i" name="song_pos" direction="out" />
<arg type="i" name="songid" direction="out" />
</signal>
<signal name="QueueList">
<arg type="a(stusssisssii)" name="array_of_songs" direction="out" />
</signal>
<signal name="Connected">
</signal>
<signal name="Disconnected">
</signal>
</interface>
</node>