--- src/shout.c.orig 2006-06-10 08:09:46.000000000 +0900
+++ src/shout.c 2009-02-25 03:49:25.000000000 +0900
@@ -310,7 +310,7 @@
else if (self->protocol == SHOUT_PROTOCOL_HTTP) {
char *auth = http_basic_authorization(self);
- rv = sock_write(socket, "GET /admin/metadata?mode=updinfo&mount=%s&%s HTTP/1.0\r\nUser-Agent: %s\r\n%s\r\n",
+ rv = sock_write(socket, "GET /admin/metadata?mode=updinfo&charset=utf-8&mount=%s&%s HTTP/1.0\r\nUser-Agent: %s\r\n%s\r\n",
self->mount, encvalue, shout_get_agent(self), auth ? auth : "");
free(auth);
} else--- src/output/shout_plugin.c.orig 2010-01-18 10:27:02.000000000 +0900
+++ src/output/shout_plugin.c 2010-03-23 21:28:07.000000000 +0900
@@ -270,6 +270,13 @@
return NULL;
}
+ value = config_get_block_string(param, "url", NULL);
+ if (value != NULL && shout_set_url(sd->shout_conn, value)) {
+ g_set_error(error, shout_output_quark(), 0,
+ "%s", shout_get_error(sd->shout_conn));
+ return NULL;
+ }
+
{
char temp[11];
memset(temp, 0, sizeof(temp));