diff options
author | Max Kellermann <max@duempel.org> | 2008-11-25 18:13:15 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-25 18:13:15 +0100 |
commit | 21dade26aa405005263d04391fd42a685c62491f (patch) | |
tree | b60a7ec58cea2537219804e005c4986ce8ad27c3 | |
parent | d85184256e9bfbcd6e6533b8c806876ede52f538 (diff) | |
download | mpd-21dade26aa405005263d04391fd42a685c62491f.tar.gz mpd-21dade26aa405005263d04391fd42a685c62491f.tar.xz mpd-21dade26aa405005263d04391fd42a685c62491f.zip |
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.
-rw-r--r-- | src/input_curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_curl.c b/src/input_curl.c index 5570737b9..2f25a02c2 100644 --- a/src/input_curl.c +++ b/src/input_curl.c @@ -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; |