[Playlist] Re: [Icecast] How's XSPF support on Icecast if any?
Thomas B. Ruecker
ruecker at ruecker-itk.de
Tue May 15 18:29:19 UTC 2007
Ivo Emanuel Gonçalves wrote:
> On 5/15/07, Thomas B. Ruecker <ruecker at ruecker-itk.de> wrote:
>> I've built a first version of a xslt that produces xspf output.
>> You can find it here:
>> http://www.ruecker-itk.de/icecast/xspf/
>> stats.xml - raw xml metadata for the whole server at some point in time
>> xspf.xsl - the xslt sheet
>> xspf.xsl.out - the output as produced by the server
>
> Awesome! I will be testing it.
I guess it is far from done. Everything I didn't knew where to put ended
up in the <annotation> section. Also the xslt code will need to see some
refactoring as soon as we settle for an "layout".
>> Do programs even support prompting for username / password
>> upon recieving http-401?
>
> I'm not sure about this, either.
I mentioned this because the web status interface of icecast will
hilight streams that need http-auth and redirect you to a site where you
can enter credentials and then mangles this into a m3u with single entry
and http-auth data built in. Solving this for this xslt is probably
impossible. But we should keep this in mind if we add further xspf
support to icecast.
>> mailing list?
> Do we discuss this further in public? On which
>
> Yes, please. I'm CCing Lucas Gonze and Sebastian Pipping, who are
> behind the XSPF project. Further messages may be sent here (icecast)
> and playlist at lists.musicbrainz.org, which is currently the official
> XSPF mailing list.
I've left all people on CC for now.
I see that this xslt is only one step to full xspf support in icecast
(if desired). But it certainly was the easiest approach for me.
It simply presents all currently playing streams including all their
metadata as a playlist.
I'd be grateful for some hints about what to do to the metadata that
ended up in <annotation>.
One further question: Is there an mime-type for xspf? If so I can add
that to the xslt so that versions after 2.3.1 will send the playlist
with correct type (2.3.1 will _always_ send text/html, this is currently
only fixed in the kh branch).
Cheers
Thomas
More information about the Playlist
mailing list