Commit 9d8784d4 authored by brendan's avatar brendan

Shoutcast metadata compatibility fix. Gah.

svn path=/trunk/libshout/; revision=4403
parent 7e34d572
......@@ -252,7 +252,7 @@ int shout_set_metadata(shout_t *self, shout_metadata_t *metadata)
return SHOUTERR_NOCONNECT;
if (self->protocol == SHOUT_PROTOCOL_ICY)
rv = sock_write(socket, "GET /admin.cgi?mode=updinfo&pass=%s&%s HTTP/1.0\r\nUser-Agent: %s\r\n\r\n",
rv = sock_write(socket, "GET /admin.cgi?mode=updinfo&pass=%s&%s HTTP/1.0\r\nUser-Agent: %s (Mozilla compatible)\r\n\r\n",
self->password, encvalue, shout_get_agent(self));
else if (self->protocol == SHOUT_PROTOCOL_HTTP) {
char *auth = http_basic_authorization(self);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment