aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/input_curl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_curl.c b/src/input_curl.c
index df9f43517..ad471795e 100644
--- a/src/input_curl.c
+++ b/src/input_curl.c
@@ -319,6 +319,11 @@ input_curl_headerfunction(void *ptr, size_t size, size_t nmemb, void *stream)
} else if (strcasecmp(name, "content-type") == 0) {
g_free(is->mime);
is->mime = g_strndup(value, end - value);
+ } else if (strcasecmp(name, "icy-name") == 0 ||
+ strcasecmp(name, "ice-name") == 0 ||
+ strcasecmp(name, "x-audiocast-name") == 0) {
+ g_free(is->meta_name);
+ is->meta_name = g_strndup(value, end - value);
}
return size;