summaryrefslogtreecommitdiffstats
path: root/stream/network.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2008-11-06 20:41:40 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2008-11-06 20:41:40 +0200
commite46ce9c0ac88cdc3b4604c249576cfde0c5c4946 (patch)
tree6553efdc461e8d81ae2c9a7508b2dec5f116905a /stream/network.c
parente51225dc3135e69d3f0fe6a5502c0c0e77952056 (diff)
parent14eb21fce00bfcab5145140f22bfd706d991c101 (diff)
downloadmpv-e46ce9c0ac88cdc3b4604c249576cfde0c5c4946.tar.bz2
mpv-e46ce9c0ac88cdc3b4604c249576cfde0c5c4946.tar.xz
Merge svn changes up to r27899
Diffstat (limited to 'stream/network.c')
-rw-r--r--stream/network.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/network.c b/stream/network.c
index 6e000c07f2..5cfe4a461e 100644
--- a/stream/network.c
+++ b/stream/network.c
@@ -205,7 +205,8 @@ http_send_request( URL_t *url, off_t pos ) {
else
http_set_field( http_hdr, "User-Agent: MPlayer/"VERSION);
- http_set_field(http_hdr, "Icy-MetaData: 1");
+ if( strcasecmp(url->protocol, "noicyx") )
+ http_set_field(http_hdr, "Icy-MetaData: 1");
if(pos>0) {
// Extend http_send_request with possibility to do partial content retrieval