Displaying 1 result from an estimated 1 matches for "shoutcastsourc".
Did you mean:
  shoutcastsource
  
2009 Sep 26
0
patch to make media player classic works in stream mode instead of download play mode (shoutcastsource)
...aining, "HTTP/1.0 200 OK\r\n"
-            "Content-Type: %s\r\n", source->format->contenttype);
+    useragent = httpp_getvar (client->parser, "user-agent");
+    protocol = "HTTP/1.0";
+    if (useragent)
+    {
+        if (strstr(useragent, "shoutcastsource")) /* checking "Media
Play Classic" is not necessary */
+        {
+            protocol = "ICY";
+        }
+    }
+    bytes = snprintf (ptr, remaining, "%s 200 OK\r\n"
+            "Content-Type: %s\r\n", protocol, source->format->contenttype)...