Commit 21dade26 authored by Max Kellermann's avatar Max Kellermann

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.
parent d8518425
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment