[icecast-dev] Ogg response headers

Dave St John dstjohn at mediacast1.com
Thu Dec 4 19:35:40 PST 2003



yeup already gave that one a shot,
even tried sending custom headers for winamp and hackin source.c in icecast
to no avail

<p><p><p>Dave St John
Mediacast1 Administration
----- Original Message ----- 
From: "oddsock" <oddsock at oddsock.org>
To: <icecast-dev at xiph.org>
Sent: Thursday, December 04, 2003 8:26 PM
Subject: Re: [icecast-dev] Ogg response headers

<p>> At 06:16 PM 12/4/2003 -0700, you wrote:
> > > URL ends with ".ogg". If your script ends with ".php" (as it probably
> >does),
> >Since i got the mp3 part to work, myabe ill try adding .ogg to be parsed
by
> >php in the
> >apache config, since it the winamp request ends up hanging.
> >
> >thanks for the tips, if and when i get it working ill post the results as
> >well as links to the script download.
>
> you might want to experiment with the Content-Disposition header as I use
> this header to serve m3u files from a php script...
>
> e.g.
>
> header("Content-type: audio/m3u");
> if (preg_match("/MSIE 5.5/", $HTTP_USER_AGENT)) {
>          header("Content-Disposition: filename=\"listen.m3u\"");
> }
> else {
>          #header("Content-Disposition: attachment;
filename=\"listen.m3u\"");
>          header("Content-Disposition: inline; filename=\"listen.m3u\"");
> }
>
> This works with IE, not entirely sure if this technique will work within
> winamp, but my guess is no, it might need a URL that ends in .ogg....as a
> shot in the dark you could also try :
> http://server/yourscripty.php?dummy=/bleh.ogg
>
> oddsock
> >Dave St John
> >Mediacast1 Administration
>
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to
'icecast-dev-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast-dev mailing list