input_curl: disable Icy-Metadata
input_curl.c does not support parsing shoutcast metadata yet. Disable the "Icy-Metadata" header for now, since it may cause corruptions in the stream.
This commit is contained in:
parent
d85184256e
commit
21dade26aa
@ -474,8 +474,10 @@ input_curl_easy_init(struct input_stream *is)
|
||||
return false;
|
||||
|
||||
c->request_headers = NULL;
|
||||
/*
|
||||
c->request_headers = curl_slist_append(c->request_headers,
|
||||
"Icy-Metadata: 1");
|
||||
*/
|
||||
curl_easy_setopt(c->easy, CURLOPT_HTTPHEADER, c->request_headers);
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user