empc/src/bin/empdd.xml

228 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node name="/">
<interface name="org.empd.empdd">
<method name="Connect">
<arg type="s" name="host" direction="in" />
<arg type="i" name="port" direction="in" />
<arg type="s" name="password" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="IsConnected">
<arg type="b" name="isconnected" direction="out" />
<arg type="s" name="host" direction="out" />
<arg type="u" name="port" direction="out" />
</method>
<method name="Status">
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Config">
<arg type="s" name="music_directory" direction="out" />
</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="PlayPos">
<arg type="u" name="songpos" 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="QueueListCached">
<arg type="a(stusssisssii)" name="array_of_songs" direction="out" />
</method>
<method name="QueueListCachedRange">
<arg type="i" name="start" direction="in" />
<arg type="i" name="num" direction="in" />
<arg type="a(stusssisssii)" name="array_of_songs" direction="out" />
</method>
<method name="ClearList">
<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>
<method name="AddList">
<arg type="s" name="uri" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="AddIdList">
<arg type="s" name="uri" direction="in" />
<arg type="u" name="position" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="SavePlaylist">
<arg type="s" name="uri" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="AddToPlaylist">
<arg type="s" name="playlist" direction="in" />
<arg type="s" name="uri" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="LoadPlaylist">
<arg type="s" name="uri" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="MoveList">
<arg type="u" name="start_pos" direction="in" />
<arg type="i" name="num" direction="in" />
<arg type="u" name="target_pos" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Repeat">
<arg type="b" name="mode" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Shuffle">
<arg type="b" name="mode" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Single">
<arg type="b" name="mode" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Consume">
<arg type="b" name="mode" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="ListInfo">
<arg type="s" name="path" direction="in" />
<arg type="a(iv)" name="array_of_infos" direction="out" />
</method>
<method name="Update">
<arg type="s" name="path" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="Find">
<arg type="u" name="type" direction="in" />
<arg type="s" name="param" direction="in" />
<arg type="a(iv)" name="array_of_infos" direction="out" />
</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" />
<arg type="u" name="update_id" 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="composer" 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="s" name="genre" 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="QueueChangesMeta">
<arg type="a(stusssisssii)" name="array_of_songs" direction="out" />
</signal>
<signal name="LoginFailed">
<arg type="s" name="host" direction="out" />
<arg type="u" name="port" direction="out" />
</signal>
<signal name="PermissionFailed">
<arg type="s" name="host" direction="out" />
<arg type="u" name="port" direction="out" />
<arg type="u" name="code" direction="out" />
</signal>
<signal name="Connected">
<arg type="s" name="host" direction="out" />
<arg type="u" name="port" direction="out" />
</signal>
<signal name="Disconnected">
</signal>
<signal name="DatabaseUpdateBegin">
</signal>
<signal name="DatabaseUpdateEnd">
</signal>
</interface>
<interface name="org.empd.empc">
<method name="SetBackgroundFile">
<arg type="s" name="artist" direction="in" />
<arg type="s" name="album" direction="in" />
<arg type="s" name="file" direction="in" />
<arg type="s" name="key" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="SetBackgroundData">
<arg type="s" name="artist" direction="in" />
<arg type="s" name="album" direction="in" />
<arg type="s" name="uri" direction="in" />
<arg type="ay" name="bytes" direction="in" />
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true" />
</method>
<method name="GetBackground">
<arg type="s" name="file" direction="out" />
<arg type="s" name="key" direction="out" />
</method>
<signal name="BackgroundChanged">
<arg type="s" name="file" direction="out" />
<arg type="s" name="key" direction="out" />
</signal>
</interface>
</node>