aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/httpd_client.c
diff options
context:
space:
mode:
authorJames Pike <jpike@afterclap.com>2010-04-05 13:11:10 +0200
committerMax Kellermann <max@duempel.org>2010-04-05 13:11:10 +0200
commitc52f469c9cff4ad6aeede40ff3254d695a9ba603 (patch)
tree43a110211f6d6139d3a38c9405fdab0d26a73c6b /src/output/httpd_client.c
parent50c0c4b7012f185655574f37cae3cde8e9293112 (diff)
downloadmpd-c52f469c9cff4ad6aeede40ff3254d695a9ba603.tar.gz
mpd-c52f469c9cff4ad6aeede40ff3254d695a9ba603.tar.xz
mpd-c52f469c9cff4ad6aeede40ff3254d695a9ba603.zip
output/httpd: added name/genre/website configuration
Diffstat (limited to '')
-rw-r--r--src/output/httpd_client.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/output/httpd_client.c b/src/output/httpd_client.c
index fa14d1956..6bd095838 100644
--- a/src/output/httpd_client.c
+++ b/src/output/httpd_client.c
@@ -282,11 +282,12 @@ httpd_client_send_response(struct httpd_client *client)
} else {
gchar *metadata_header;
- metadata_header = icy_server_metadata_header("Add config information here!", /* TODO */
- "Add config information here!", /* TODO */
- "Add config information here!", /* TODO */
- client->httpd->content_type,
- client->metaint);
+ metadata_header = icy_server_metadata_header(
+ client->httpd->name,
+ client->httpd->genre,
+ client->httpd->website,
+ client->httpd->content_type,
+ client->metaint);
g_strlcpy(buffer, metadata_header, sizeof(buffer));