changeset 581:c5022551db57 trunk

[svn] - mpg123: do not try to pick a tuple from http:// sources
author giacomo
date Tue, 30 Jan 2007 11:05:31 -0800
parents 2419d6928017
children f9e813a27f9f
files ChangeLog src/mpg123/mpg123.c
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jan 30 08:36:50 2007 -0800
+++ b/ChangeLog	Tue Jan 30 11:05:31 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-30 16:36:50 +0000  Giacomo Lozito <james@develia.org>
+  revision [1246]
+  - converted timidity plugin to InputPlayback
+  trunk/src/timidity/src/xmms-timidity.c |   26 ++++++++++++++------------
+  trunk/src/timidity/src/xmms-timidity.h |   10 +++++-----
+  2 files changed, 19 insertions(+), 17 deletions(-)
+
+
 2007-01-30 16:24:40 +0000  Giacomo Lozito <james@develia.org>
   revision [1244]
   - added audacious osd in configure.ac
--- a/src/mpg123/mpg123.c	Tue Jan 30 08:36:50 2007 -0800
+++ b/src/mpg123/mpg123.c	Tue Jan 30 11:05:31 2007 -0800
@@ -529,6 +529,9 @@
     TagLib_File *taglib_file;
     TagLib_Tag *taglib_tag;
 
+    if (str_has_prefix_nocase(filename, "http://"))
+        return NULL;
+
 #ifdef USE_CHARDET
     taglib_set_strings_unicode(FALSE);
 #endif