Mercurial > audlegacy
diff src/audacious/dbus.c @ 2696:c00850315ce1 trunk
[svn] Fixed licensing issues and DBus node/interface names. Also implemented playlist advance and reverse.
author | magma |
---|---|
date | Sat, 05 May 2007 16:24:08 -0700 |
parents | 4c4c8b294287 |
children | 2d1837805ca4 |
line wrap: on
line diff
--- a/src/audacious/dbus.c Sat May 05 16:04:39 2007 -0700 +++ b/src/audacious/dbus.c Sat May 05 16:24:08 2007 -0700 @@ -1,22 +1,21 @@ /* -* -* Author: Ben Tucker <bnt@interchange.ubc.ca>, (C) 2007 -* -* 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; either version 2 of the License, or (at your -* option) any later version. -* -* 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 -* -*/ + * Audacious: A cross-platform multimedia player + * 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 + * 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. + */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -161,10 +160,12 @@ } gboolean audacious_remote_advance(RemoteObject *obj, GError **error) { + playlist_next(playlist_get_active()); return TRUE; } gboolean audacious_remote_reverse(RemoteObject *obj, GError **error) { + playlist_prev(playlist_get_active()); return TRUE; }