changeset 25928:bf21649e15c9

Disable http->mmshttp rewriting hack introduced in r25168, unfortunately WMP is not the only one using asx. Fixes http://www.fresh80s.de/listen.wax
author reimar
date Fri, 08 Feb 2008 18:28:12 +0000
parents f4c83afa0683
children fc27053e927b
files asxparser.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/asxparser.c	Thu Feb 07 21:04:17 2008 +0000
+++ b/asxparser.c	Fri Feb 08 18:28:12 2008 +0000
@@ -448,7 +448,10 @@
     asx_warning_attrib_required(parser,"REF" ,"HREF" );
     return;
   }
+#if 0
   // replace http my mmshttp to avoid infinite loops
+  // disabled since some playlists for e.g. WinAMP use asx as well
+  // "-user-agent NSPlayer/4.1.0.3856" is a possible workaround
   if (strncmp(href, "http://", 7) == 0) {
     char *newref = malloc(3 + strlen(href) + 1);
     strcpy(newref, "mms");
@@ -456,6 +459,7 @@
     free(href);
     href = newref;
   }
+#endif
 
   play_tree_add_file(pt,href);