Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/euphoria
Dir : e17/apps/euphoria/src
Modified Files:
callbacks.c
Log Message:
this is apparently the right way to fetch mediainfo
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/euphoria/src/callbacks.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- callbacks.c 29 Feb 2004 17:06:12 -0000 1.14
+++ callbacks.c 29 Feb 2004 19:50:23 -0000 1.15
@@ -1,5 +1,5 @@
/*
- * $Id: callbacks.c,v 1.14 2004/02/29 17:06:12 atmosphere Exp $
+ * $Id: callbacks.c,v 1.15 2004/02/29 19:50:23 atmosphere Exp $
* vim:noexpandtab:sw=4:sts=4:ts=4
*/
@@ -568,15 +568,16 @@
if (!id)
return;
- for (i = 0; id[i]; i++)
- on_xmms_playlist_add(e, (int *) id[i]);
+ for (i = 0; id[i]; i++) {
+ playlist_item_add(e->playlist, id[i]);
+ xmmsc_playlist_get_mediainfo(e->xmms, id[i]);
+ }
}
XMMS_CB(playlist_add) {
unsigned int id = (unsigned int) arg;
playlist_item_add(e->playlist, id);
- xmmsc_playlist_get_mediainfo(e->xmms, id);
}
XMMS_CB(playlist_remove) {
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs