Mercurial > audlegacy
diff src/audacious/mpris_player.xml @ 3268:8af43e099cce trunk
Added function prototypes for Disconnect and GetMetadata methods, and a prototype for the Disconnected signal.
Modified the MPRIS functions so that they complete their task directly instead of calling the legacy DBus functions.
Implemented the /TrackList GetLength, DelTrack, and Random methods
| author | Ben Tucker <ben.tucker@gmail.com> |
|---|---|
| date | Sat, 04 Aug 2007 01:13:08 -0700 |
| parents | cbe86be4f19b |
| children | 904c58081f0a |
line wrap: on
line diff
--- a/src/audacious/mpris_player.xml Fri Aug 03 17:47:07 2007 -0700 +++ b/src/audacious/mpris_player.xml Sat Aug 04 01:13:08 2007 -0700 @@ -35,60 +35,49 @@ <method name="Play"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> </method> + <method name="Repeat"> + <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> + <arg type="b" direction="in" /> + </method> <method name="Quit"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> </method> <method name="Disconnect"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> </method> - <method name="Repeat"> - <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> - <arg type="b" direction="in" /> - </method> - <method name="GetStatus"> <arg type="i" direction="out" /> </method> - <method name="GetMetadata"> <arg type="a{sv}" direction="out" /> </method> - <method name="GetCaps"> <arg type="i" direction="out" /> </method> - <method name="VolumeSet"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> <arg type="i" direction="in" /> </method> - <method name="VolumeGet"> <arg type="i" direction="out" /> </method> - <method name="PositionSet"> <annotation name="org.freedesktop.DBus.GLib.NoReply" value=""/> <arg type="i" direction="in" /> </method> - <method name="PositionGet"> <arg type="i" direction="out" /> </method> - <signal name="CapsChange"> - <arg type="i" /> - </signal> - <signal name="TrackChange"> <arg type="a{sv}" /> </signal> - <signal name="StatusChange"> <arg type="i" /> </signal> - - <signal name="Disconnected"> + <signal name="CapsChange"> + <arg type="i" /> </signal> + <signal name="Disconnected" /> </interface> </node>
