changeset 470:220515815cf8 trunk

[svn] - only parse handed-off shoutcast information on streams
author nenolod
date Sun, 21 Jan 2007 02:11:26 -0800
parents 1256144d2a6e
children dd5a28dc4254
files ChangeLog src/mpg123/mpg123.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 21 02:09:42 2007 -0800
+++ b/ChangeLog	Sun Jan 21 02:11:26 2007 -0800
@@ -1,3 +1,13 @@
+2007-01-21 10:09:42 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1024]
+  - fix crash
+  - finish shout metadata support
+  
+  trunk/src/curl/curl.c     |    8 ++++----
+  trunk/src/mpg123/mpg123.c |   40 +++++++++++++++++++++++++++++++++++++++-
+  2 files changed, 43 insertions(+), 5 deletions(-)
+
+
 2007-01-21 09:55:08 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1022]
   - always make sure the returned data is strdup'd
--- a/src/mpg123/mpg123.c	Sun Jan 21 02:09:42 2007 -0800
+++ b/src/mpg123/mpg123.c	Sun Jan 21 02:11:26 2007 -0800
@@ -865,6 +865,7 @@
                     disp_count--;
                 play_frame(&fr);
 
+		if (mpgdec_info->filesize == 0)
 	        {
 		    gchar *new_title = mpgdec_metadata("track-name");
 		    gchar *srv_name = mpgdec_metadata("stream-name");