diff stream/network.c @ 27847:28deb37052cd

Add a noicyx:// protocol to allow easier testing for misconfigured servers.
author reimar
date Sun, 02 Nov 2008 17:15:14 +0000
parents ae5da477539e
children c7b5d862b6d8
line wrap: on
line diff
--- a/stream/network.c	Sun Nov 02 16:46:02 2008 +0000
+++ b/stream/network.c	Sun Nov 02 17:15:14 2008 +0000
@@ -205,6 +205,7 @@
 	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) {