[Playlist] Re: [Icecast] How's XSPF support on Icecast if any?
Sebastian Pipping
webmaster at hartwork.org
Tue May 15 19:48:18 UTC 2007
Thomas B. Ruecker wrote:
> whoops, looks like I've overlooked an obvious bug. :-/
> Funny though I think the xspf validator did not complain.
-----------------------------------------------------------------
Yes, I know. I had to take out URI validation since
Python afaik does not have an RFC compliant URI parser.
-----------------------------------------------------------------
> So is <annotation> in fact the right place to store that multiline
> plaintext content? (do I need to put some sort of linebreak chars? for
> now i've just forced CR LF)
-----------------------------------------------------------------
The way you did it, is right. All whitespace is preserved
in <annotation> elements.
-----------------------------------------------------------------
>> In case you like the extension idea let us know if
>> you need help defining it.
>>
> yes, I guess that's the way to go then. help would be greatly appreciated.
> IIRC there is also <meta> elements in the spec. What about those?
-----------------------------------------------------------------
That's the other way you can go. I suggested <extension>
since the data belongs together in my eyes. But if you strongly
prefer a list of <meta>s instead, you can do that as well.
-----------------------------------------------------------------
> Also what happens from the player application point of view?
> Or is xspf still being adopted so that such additions would encourage
> application developers to add support for those?
-----------------------------------------------------------------
Applications will have to understand your extension before
they can work with it. So we define it, let pass a little
time, and everybody will use it. Well, through the optimistic
glasses.
I suggest you use the "List of known XSPF extensions"
wiki page [1] to work out your extension. So we can have
a look and mentor you where needed. Okay?
Sebastian
[1] http://wiki.xiph.org/index.php/List_of_known_XSPF_extensions
More information about the Playlist
mailing list