diff options
author | James Pike <jpike@afterclap.com> | 2010-04-05 13:11:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-04-05 13:11:10 +0200 |
commit | c52f469c9cff4ad6aeede40ff3254d695a9ba603 (patch) | |
tree | 43a110211f6d6139d3a38c9405fdab0d26a73c6b /src/output/httpd_output_plugin.c | |
parent | 50c0c4b7012f185655574f37cae3cde8e9293112 (diff) | |
download | mpd-c52f469c9cff4ad6aeede40ff3254d695a9ba603.tar.gz mpd-c52f469c9cff4ad6aeede40ff3254d695a9ba603.tar.xz mpd-c52f469c9cff4ad6aeede40ff3254d695a9ba603.zip |
output/httpd: added name/genre/website configuration
Diffstat (limited to 'src/output/httpd_output_plugin.c')
-rw-r--r-- | src/output/httpd_output_plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c index 0467a88c5..d61570557 100644 --- a/src/output/httpd_output_plugin.c +++ b/src/output/httpd_output_plugin.c @@ -111,6 +111,12 @@ httpd_output_init(G_GNUC_UNUSED const struct audio_format *audio_format, struct sockaddr_in *sin; /* read configuration */ + httpd->name = + config_get_block_string(param, "name", "Set name in config"); + httpd->genre = + config_get_block_string(param, "genre", "Set genre in config"); + httpd->website = + config_get_block_string(param, "website", "Set website in config"); port = config_get_block_unsigned(param, "port", 8000); |