Mercurial > audlegacy
changeset 3266:24040bb7b2a8 trunk
merged with master
author | Ben Tucker <ben.tucker@gmail.com> |
---|---|
date | Thu, 02 Aug 2007 09:19:57 -0700 |
parents | fb23cdc95976 (diff) db3983f423f3 (current diff) |
children | 21c583c5b71d |
files | |
diffstat | 5 files changed, 16 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/Makefile Thu Aug 02 17:42:38 2007 +0200 +++ b/src/audacious/Makefile Thu Aug 02 09:19:57 2007 -0700 @@ -143,7 +143,7 @@ CFLAGS += -I../libaudclient DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h OBJECTIVE_LIBS_NOINST += $(DBUS_BINDINGS) -LIBDEP += ../libaudclient/libaudclient.so +LIBDEP += ../libaudclient/libaudclient$(SHARED_SUFFIX) LDADD += -L../libaudclient -laudclient endif
--- a/src/audacious/dbus-service.h Thu Aug 02 17:42:38 2007 +0200 +++ b/src/audacious/dbus-service.h Thu Aug 02 09:19:57 2007 -0700 @@ -28,6 +28,7 @@ typedef struct { GObject parent; + DBusGProxy *proxy; } RemoteObject, MprisRoot, MprisPlayer, MprisTrackList; typedef struct {
--- a/src/audacious/dbus.h Thu Aug 02 17:42:38 2007 +0200 +++ b/src/audacious/dbus.h Thu Aug 02 09:19:57 2007 -0700 @@ -24,7 +24,8 @@ #define AUDACIOUS_DBUS_SERVICE "org.atheme.audacious" #define AUDACIOUS_DBUS_PATH "/org/atheme/audacious" #define AUDACIOUS_DBUS_INTERFACE "org.atheme.audacious" -#define AUDACIOUS_DBUS_SERVICE_MPRIS "org.freedesktop.MediaPlayer" +#define AUDACIOUS_DBUS_SERVICE_MPRIS "org.mpris.audacious" +#define AUDACIOUS_DBUS_INTERFACE_MPRIS "org.freedesktop.MediaPlayer" #define AUDACIOUS_DBUS_PATH_MPRIS_ROOT "/" #define AUDACIOUS_DBUS_PATH_MPRIS_PLAYER "/Player" #define AUDACIOUS_DBUS_PATH_MPRIS_TRACKLIST "/TrackList"
--- a/src/audacious/mpris_player.xml Thu Aug 02 17:42:38 2007 +0200 +++ b/src/audacious/mpris_player.xml Thu Aug 02 09:19:57 2007 -0700 @@ -3,6 +3,7 @@ <!-- - Audacious: A cross-platform multimedia player - Copyright (c) 2007 William Pitcock + - Copyright (c) 2007 Ben Tucker - - 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 @@ -37,7 +38,9 @@ <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" /> @@ -47,6 +50,10 @@ <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> @@ -80,5 +87,8 @@ <signal name="StatusChange"> <arg type="i" /> </signal> + + <signal name="Disconnected"> + </signal> </interface> </node>
--- a/src/audacious/mpris_tracklist.xml Thu Aug 02 17:42:38 2007 +0200 +++ b/src/audacious/mpris_tracklist.xml Thu Aug 02 09:19:57 2007 -0700 @@ -3,6 +3,7 @@ <!-- - Audacious: A cross-platform multimedia player - Copyright (c) 2007 William Pitcock + - Copyright (c) 2007 Ben Tucker - - 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