# HG changeset patch # User reimar # Date 1203107565 0 # Node ID 64b1e4ea04fcc0eb9f44cf327912ed58270b1ba3 # Parent c6ec51cc3b138a8724a4d3de0be06437be0126a1 Always display Icy-Metadata if available, whether we recognize an ICY-Server or not. I can not think of a reason why this should hurt. diff -r c6ec51cc3b13 -r 64b1e4ea04fc stream/http.c --- a/stream/http.c Fri Feb 15 20:31:10 2008 +0000 +++ b/stream/http.c Fri Feb 15 20:32:45 2008 +0000 @@ -772,13 +772,14 @@ seekable = strncmp(accept_ranges,"bytes",5)==0; } + print_icy_metadata(http_hdr); + // Check if the response is an ICY status_code reason_phrase if( !strcasecmp(http_hdr->protocol, "ICY") || http_get_field(http_hdr, "Icy-MetaInt") ) { switch( http_hdr->status_code ) { case 200: { // OK char *field_data; - print_icy_metadata(http_hdr); // If content-type == video/nsv we most likely have a winamp video stream // otherwise it should be mp3. if there are more types consider adding mime type // handling like later