summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/http.c2
-rw-r--r--stream/network.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/stream/http.c b/stream/http.c
index 21488907f7..fa8b4e9d35 100644
--- a/stream/http.c
+++ b/stream/http.c
@@ -973,7 +973,7 @@ const stream_info_t stream_info_http1 = {
"Bertrand, Albeau, Reimar Doeffinger, Arpi?",
"plain http",
open_s1,
- {"http", "http_proxy", "unsv", "icyx", NULL},
+ {"http", "http_proxy", "unsv", "icyx", "noicyx", NULL},
NULL,
0 // Urls are an option string
};
diff --git a/stream/network.c b/stream/network.c
index 6e000c07f2..ccea73ed63 100644
--- a/stream/network.c
+++ b/stream/network.c
@@ -205,6 +205,7 @@ http_send_request( URL_t *url, off_t pos ) {
else
http_set_field( http_hdr, "User-Agent: MPlayer/"VERSION);
+ if( strcasecmp(url->protocol, "noicyx") )
http_set_field(http_hdr, "Icy-MetaData: 1");
if(pos>0) {