comparison src/libaudclient/audctrl.c @ 2735:ccf3e141fb1e trunk

[svn] - finish some stubs to make audtool work for my scripts
author nenolod
date Fri, 11 May 2007 12:35:52 -0700
parents cf080b11c3fa
children 1eb06f902923
comparison
equal deleted inserted replaced
2734:eda1f3186687 2735:ccf3e141fb1e
212 212
213 void audacious_remote_set_skin(DBusGProxy *proxy, gchar *skinfile) { 213 void audacious_remote_set_skin(DBusGProxy *proxy, gchar *skinfile) {
214 } 214 }
215 215
216 gchar *audacious_remote_get_playlist_file(DBusGProxy *proxy, gint pos) { 216 gchar *audacious_remote_get_playlist_file(DBusGProxy *proxy, gint pos) {
217 gchar *out;
218 org_atheme_audacious_song_filename(proxy, pos, &out, &error);
219 g_clear_error(&error);
220 return out;
217 } 221 }
218 222
219 gchar *audacious_remote_get_playlist_title(DBusGProxy *proxy, gint pos) { 223 gchar *audacious_remote_get_playlist_title(DBusGProxy *proxy, gint pos) {
224 gchar *out;
225 org_atheme_audacious_song_title(proxy, pos, &out, &error);
226 g_clear_error(&error);
227 return out;
220 } 228 }
221 229
222 gint audacious_remote_get_playlist_time(DBusGProxy *proxy, gint pos) { 230 gint audacious_remote_get_playlist_time(DBusGProxy *proxy, gint pos) {
231 gint out;
232 org_atheme_audacious_song_length(proxy, pos, &out, &error);
233 g_clear_error(&error);
234 return out;
223 } 235 }
224 236
225 void audacious_remote_get_info(DBusGProxy *proxy, gint *rate, gint *freq, 237 void audacious_remote_get_info(DBusGProxy *proxy, gint *rate, gint *freq,
226 gint *nch) { 238 gint *nch) {
227 } 239 }