Mercurial > audlegacy
changeset 2704:7d9139b393ce trunk
[svn] - define mpris /TrackList object in XML.
author | nenolod |
---|---|
date | Mon, 07 May 2007 17:56:35 -0700 |
parents | fa67680f3a29 |
children | f3bc7cb81ed8 |
files | ChangeLog src/audacious/Makefile src/audacious/build_stamp.c src/audacious/mpris_tracklist.xml |
diffstat | 4 files changed, 60 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon May 07 17:51:05 2007 -0700 +++ b/ChangeLog Mon May 07 17:56:35 2007 -0700 @@ -1,3 +1,12 @@ +2007-05-08 00:51:05 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [4432] + - add mpris root node to dbus-bindings. + + trunk/src/audacious/Makefile | 2 ++ + trunk/src/audacious/mpris_root.xml | 28 ++++++++++++++++++++++++++++ + 2 files changed, 30 insertions(+) + + 2007-05-08 00:09:15 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [4430] - rename *class prototypes to *klass to avoid keyword collisions in sun studio and icc.
--- a/src/audacious/Makefile Mon May 07 17:51:05 2007 -0700 +++ b/src/audacious/Makefile Mon May 07 17:56:35 2007 -0700 @@ -125,7 +125,8 @@ dbus-bindings.h: $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=audacious_remote objects.xml > $@ - $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris mpris_root.xml >> $@ + $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_root mpris_root.xml >> $@ + $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=mpris_tracklist mpris_tracklist.xml >> $@ @printf "%10s %-20s\n" DBUS-BIND $@ OBJECTIVE_DATA = audacious.desktop:$(datadir)/applications
--- a/src/audacious/build_stamp.c Mon May 07 17:51:05 2007 -0700 +++ b/src/audacious/build_stamp.c Mon May 07 17:56:35 2007 -0700 @@ -1,2 +1,2 @@ #include <glib.h> -const gchar *svn_stamp = "20070508-4430"; +const gchar *svn_stamp = "20070508-4432";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/audacious/mpris_tracklist.xml Mon May 07 17:56:35 2007 -0700 @@ -0,0 +1,48 @@ +<?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="/TrackList"> + <interface name="org.freedesktop.MediaPlayer"> + <method name="GetMetadata"> + <arg type="i" direction="in" /> + <arg type="a{sv}" direction="out" /> + </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" /> + </method> + <method name="DelTrack"> + <arg type="i" direction="in" /> + </method> + <method name="Loop"> + <arg type="b" direction="in" /> + </method> + <method name="Shuffle"> + <arg type="b" direction="in" /> + </method> + </interface> +</node>