diff src/streambrowser/streambrowser.c @ 2850:587b3657990d

xiph now updates the streams as well; i am aware of gui crashing when adding xiph streams, but tomorrow is another lovely day
author Calin Crisan ccrisan@gmail.com
date Tue, 29 Jul 2008 00:20:31 +0300
parents fbb32674bfd2
children
line wrap: on
line diff
--- a/src/streambrowser/streambrowser.c	Mon Jul 28 23:44:00 2008 +0300
+++ b/src/streambrowser/streambrowser.c	Tue Jul 29 00:20:31 2008 +0300
@@ -366,12 +366,11 @@
 			else {
 				/* shoutcast */
 				if (strncmp(data->streamdir->name, SHOUTCAST_NAME, strlen(SHOUTCAST_NAME)) == 0) {
-					printf("DAAAA!\n");
 				    shoutcast_streaminfo_fetch(data->category, data->streaminfo);
 				}
 				/* xiph */
 				else if (strncmp(data->streamdir->name, XIPH_NAME, strlen(XIPH_NAME)) == 0) {
-				    //xiph_category_fetch(data->category);
+					xiph_streaminfo_fetch(data->category, data->streaminfo);
 				}
 			}
 
@@ -476,7 +475,7 @@
 	}
 
 	if (strlen(streaminfo->url) > 0) {
-	   	aud_playlist_add(aud_playlist_get_active(), streaminfo->url);
+		aud_playlist_add(aud_playlist_get_active(), streaminfo->url);
 		debug("stream '%s' added\n", streaminfo->url);
 	}
 }