Mercurial > audlegacy
diff src/audacious/mpris_player.xml @ 2705:f3bc7cb81ed8 trunk
[svn] - define mpris /Player object in XML.
author | nenolod |
---|---|
date | Mon, 07 May 2007 18:04:06 -0700 |
parents | src/audacious/mpris_tracklist.xml@7d9139b393ce |
children | bf2d80abf76e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/audacious/mpris_player.xml Mon May 07 18:04:06 2007 -0700 @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8" ?> + +<!-- + - Audacious: A cross-platform multimedia player + - Copyright (c) 2007 William Pitcock + - + - This program is free software; you can redistribute it and/or modify + - it under the terms of the GNU General Public License as published by + - the Free Software Foundation; under version 2 of the License. + - + - This program is distributed in the hope that it will be useful, + - but WITHOUT ANY WARRANTY; without even the implied warranty of + - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + - GNU General Public License for more details. + - + - You should have received a copy of the GNU General Public License + - along with this program; if not, write to the Free Software + - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + - 02110-1301, USA. + --> + +<node name="/Player"> + <interface name="org.freedesktop.MediaPlayer"> + <method name="Next" /> + <method name="Prev" /> + <method name="Pause" /> + <method name="Stop" /> + <method name="Play" /> + <method name="Quit" /> + + <method name="Repeat"> + <arg type="b" direction="in" /> + </method> + + <method name="GetStatus"> + <arg type="i" direction="out" /> + </method> + + <method name="GetCaps"> + <arg type="i" direction="out" /> + </method> + + <method name="VolumeSet"> + <arg type="i" direction="in" /> + </method> + + <method name="VolumeGet"> + <arg type="i" direction="out" /> + </method> + + <method name="PositionSet"> + <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> + </interface> +</node>