summaryrefslogtreecommitdiffstats
path: root/stream/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/http.c')
-rw-r--r--stream/http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream/http.c b/stream/http.c
index ac484f84d9..4e02d63d73 100644
--- a/stream/http.c
+++ b/stream/http.c
@@ -756,7 +756,8 @@ static int http_streaming_start(stream_t *stream, int* file_format) {
}
// Check if the response is an ICY status_code reason_phrase
- if( !strcasecmp(http_hdr->protocol, "ICY") ) {
+ if( !strcasecmp(http_hdr->protocol, "ICY") ||
+ http_get_field(http_hdr, "Icy-MetaInt") ) {
switch( http_hdr->status_code ) {
case 200: { // OK
char *field_data = NULL;