search for: command_requir

Displaying 3 results from an estimated 3 matches for "command_requir".

Did you mean: command_require
2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...recognised"); client_send_400(client, "Mount request unknown"); @@ -703,6 +741,138 @@ } +static void command_buildpls(client_t *client, source_t *source, + int response) +{ + char *username = NULL; + char *password = NULL; + ice_config_t *config; + + COMMAND_REQUIRE(client, "username", username); + COMMAND_REQUIRE(client, "password", password); + + client->respcode = 200; + config = config_get_config(); + snprintf (client->refbuf->data, PER_CLIENT_REFBUF_SIZE, + "HTTP/1.0 200 OK\r\n" + "Con...
2009 Dec 23
0
icecast 2.3.2 generated buildm3u don't support authenticated streaming via https
...://user:pass at icecast-server:8000/stream.ogg Looks like this is caused by too-much hardcoding in icecast-2.3.2/src/admin.c: static void command_buildm3u(client_t *client, const char *mount) { const char *username = NULL; const char *password = NULL; ice_config_t *config; COMMAND_REQUIRE(client, "username", username); COMMAND_REQUIRE(client, "password", password); client->respcode = 200; config = config_get_config(); snprintf (client->refbuf->data, PER_CLIENT_REFBUF_SIZE, "HTTP/1.0 200 OK\r\n" "Cont...
2004 Aug 06
2
improved error.log output --diff
...gt;con->ip); /* This tags it for removal on the next iteration of the main source * loop @@ -588,7 +588,7 @@ char *fallback; char *old; - DEBUG0("Got fallback request"); + DEBUG0("Got fallback request, %s", client->con->ip); COMMAND_REQUIRE(client, "fallback", fallback); @@ -609,7 +609,7 @@ time_t current_time; #endif - DEBUG0("Got metadata update request"); + DEBUG0("Got metadata update request, %s", client->con->ip); COMMAND_REQUIRE(client, "mode", action); C...