Mercurial > audlegacy
comparison src/libaudclient/audctrl.c @ 2938:1cdfc508d758 trunk
Fix adding files when Audacious is running.
A fix to start Audacious with a file will follow.
Aditionally, some old, useless XMMS stuff was removed.
author | Jonathan Schleifer <js@h3c.de> |
---|---|
date | Fri, 29 Jun 2007 15:52:26 +0200 |
parents | 77a012c3b521 |
children | 3b6d316f8b09 |
comparison
equal
deleted
inserted
replaced
2937:d9a4d56b6081 | 2938:1cdfc508d758 |
---|---|
62 * @list: A GList of URIs to add to the playlist. | 62 * @list: A GList of URIs to add to the playlist. |
63 * | 63 * |
64 * Sends a list of URIs to Audacious to add to the playlist. | 64 * Sends a list of URIs to Audacious to add to the playlist. |
65 **/ | 65 **/ |
66 void audacious_remote_playlist_add(DBusGProxy *proxy, GList *list) { | 66 void audacious_remote_playlist_add(DBusGProxy *proxy, GList *list) { |
67 //XXX | 67 GList *iter; |
68 for (iter = list; iter != NULL; iter = g_list_next(iter)) | |
69 org_atheme_audacious_add(proxy, iter->data, &error); | |
70 g_clear_error(&error); | |
68 } | 71 } |
69 | 72 |
70 /** | 73 /** |
71 * audacious_remote_playlist_delete: | 74 * audacious_remote_playlist_delete: |
72 * @proxy: DBus proxy for audacious | 75 * @proxy: DBus proxy for audacious |