search for: sourceuri

Displaying 10 results from an estimated 10 matches for "sourceuri".

2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...} httpclient->refbuf->len = PER_CLIENT_REFBUF_SIZE; @@ -443,6 +467,200 @@ free (fullpath); return 0; } + if (pls_requested && pls_file_available == 0) + { + char *host = httpp_getvar (httpclient->parser, "host"); + char *sourceuri = strdup (path); + char *dot = strrchr(sourceuri, '.'); + + /* at least a couple of players (fb2k/winamp) are reported to send a + * host header but without the port number. So if we are missing the + * port then lets treat it as if no host line was sent */ +...
2004 Aug 06
3
icecast2 ogg vorbis client request headers
...bytes = sock_write(client->con->sock, "HTTP/1.0 200 OK\r\n" "Content-Type: audio/x-mpegurl\r\n\r\n" "http://%s:%d%s\r\n", host, port, sourceuri ); i cant be sure tho if its being sent at all, what is the myme type for ogg vorbis? <p>Dave St John Mediacast1 Administration Need Support ? http://mediacast1.com/helpdesk ----- Original Message ----- From: "Geoff Shang" <gshang@pacific.net.au> To: &lt...
2011 Feb 28
2
Generation of M3U and XSPF
...rintf (httpclient->refbuf->data, BUFSIZE, "HTTP/1.0 200 OK\r\n" "Content-Type: audio/x-mpegurl\r\n\r\n" "http://%s:%d%s\r\n", config->hostname, config->port, sourceuri ); config_release_config();* Or do you know an alternative to hide port to users.. Thanks ------------------------------------------------------------------------------- sebastien.bordes at gmail.com - http://blog.webeo.fr -------------- next part --------------...
2004 Aug 06
4
icecast2 ogg vorbis client request headers
...gt; "HTTP/1.0 200 OK\r\n" > > "Content-Type: audio/x-mpegurl\r\n\r\n" > > "http://%s:%d%s\r\n", > > host, > > port, > > sourceuri > > That looks like the auto-generated .M3U stuff there - that is > audio/mpegurl. The MP3 itself should be audio/mpeg. > > > i cant be sure tho if its being sent at all, what is the myme type for ogg > > vorbis? > > the Ogg Vorbis MIME type is application/ogg. This...
2011 Mar 01
0
Generation of M3U and XSPF
...gt;data, BUFSIZE, > "HTTP/1.0 200 OK\r\n" > "Content-Type: audio/x-mpegurl\r\n\r\n" > > "http://%s:%d%s\r\n", > config->hostname, config->port, > sourceuri > ); > config_release_config();* > > > Or do you know an alternative to hide port to users.. > > Thanks > > > > ------------------------------------------------------------------------------- > sebastien.bordes at gmail.com - http:...
2004 Aug 06
1
playlist problem
..."HTTP/1.0 200 OK\r\n" "Content-Type: audio/x-mpegurl\r\n\r\n" - "http://%s:%d%s", + "http://%s:%d%s\r\n", host, port, sourceuri
2004 Aug 06
0
icecast2 ogg vorbis client request headers
...lient->con->sock, > "HTTP/1.0 200 OK\r\n" > "Content-Type: audio/x-mpegurl\r\n\r\n" > "http://%s:%d%s\r\n", > host, > port, > sourceuri That looks like the auto-generated .M3U stuff there - that is audio/mpegurl. The MP3 itself should be audio/mpeg. > i cant be sure tho if its being sent at all, what is the myme type for ogg > vorbis? the Ogg Vorbis MIME type is application/ogg. This may or may not help you, depending on...
2004 Aug 06
0
icecast2 ogg vorbis client request headers
...quot;HTTP/1.0 200 OK\r\n" > > > "Content-Type: audio/x-mpegurl\r\n\r\n" > > > "http://%s:%d%s\r\n", > > > host, > > > port, > > > sourceuri > > > > That looks like the auto-generated .M3U stuff there - that is > > audio/mpegurl. The MP3 itself should be audio/mpeg. > > > > > i cant be sure tho if its being sent at all, what is the myme type for > ogg > > > vorbis? > > > > the Og...
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
...t_create (client_t *httpclient, const char *path) "HTTP/1.0 200 OK\r\n" "Content-Type: audio/x-mpegurl\r\n\r\n" "http://%s:%d%s\r\n", - config->hostname, config->port, + config->hostname, ( config->exposed_port ? config->exposed_port : config->port ), sourceuri ); config_release_config(); diff --git a/src/icecast b/src/icecast new file mode 100755 index 0000000..7e4f612 Binary files /dev/null and b/src/icecast differ diff --git a/src/source.c b/src/source.c index 02bfc74..b838799 100644 --- a/src/source.c +++ b/src/source.c @@ -579,7 +579,7 @@ static void...
2004 Aug 06
5
icecast2 ogg vorbis client request headers
That seems it may work, however the server adds the client (php proxy script in this case) and does not disconnect it, however winamp does not recieve any audio, just sits there saying BUFFERING I know its related to the amount of bytes read into the header or something in that area as my tests with shoutcast nsv resulted in the same fashion. the main goal of this is for subscription