[Icecast] XSL Content-type

Michael Smith msmith at xiph.org
Fri Nov 25 00:42:28 UTC 2005


On 11/3/05, Andrew V. Kuzik <kuzik at cad.ntu-kpi.kiev.ua> wrote:
> Hello!
> I have created XLS stylesheet that generetes .m3u list of streaming content
> via my icecast2 server. That is just simple remake of status.xsl.
> But I got stuck. When I request it via
> http://serever/list.xsl - my winamp doesnot accept the m3u generated file.
> I began to research. The main problem is "Content-type" which gives me the
> icecast. It gives me text\html and I need "audio/x-mpegurl".
> Diffrent kind of dances with xsl
>
> <xsl:output standalone="yes" omit-xml-declaration="no" method="text" media-type="audio/x-mpegurl"/>
>
> do not help...
> the resulting is "text\html" :(
> What can I do?

There's nothing you can do with icecast as it is. Obeying all the
various xsl:output parameters simply hasn't been implemented.

A patch to implement them would be welcome.

Mike



More information about the Icecast mailing list