Package: xmms
Version: 1.2.10+cvs20050809-4

When I try to listen some mp3 streams e.g. the following one
  http://64.236.34.97:5190/stream/1065

I got the error message '404 Resource Not Found'. After some
investigation I found that the server evaluates an 'Accept:'
field in the request-header, which xmms didn't send.

The cause found in the http.c file, an patch is attached to this mail.

regards 
Frank
-- 
stupid stories from a computer guy (like you and me)
http://www.pebkac404.com/
diff -urN Input/mpg123/http.c.orig Input/mpg123/http.c
--- a/Input/mpg123/http.c.orig	2005-11-20 10:56:36.321241464 +0100
+++ b/Input/mpg123/http.c	2005-11-20 10:50:23.734883200 +0100
@@ -553,7 +553,7 @@
 						       "%s%s%s%s%s\r\n",
 						       file, host, PACKAGE, VERSION, 
 						       proxy_auth ? proxy_auth : "", auth ? auth : "",
-						       mpg123_cfg.cast_title_streaming ? "Icy-MetaData:1\r\n" : "",
+						       mpg123_cfg.cast_title_streaming ? "Icy-MetaData:1\r\nAccept: */*\r\n" : "",
 						       mpg123_cfg.use_udp_channel ? udpspace : "",
 						       range ? temp2 : "");

Reply via email to