[Playlist] an alternate xspf over json implementation

Sebastian Pipping webmaster at hartwork.org
Sat Jun 16 23:28:03 UTC 2007


Chris Anderson wrote:
> Unless there's more input from other list members, I think we've got
> ourselves a format. I'll start updating my Javascript XSPF parser to
> produce this version.

------------------------------------------------------------
Sounds good. I just had a look at the current state
again and I think we came to a good solution.
Looking forward to JSPF v1 in action!

One more thing: I stumbled over these single lines on
the XSPF.toJSPF() page:

  duration: null
  trackNum: null
  album: null

To me it seemed logical to map '"key" : null' to an empty
tag '<key></key>' but what does '"key" : ""' map to then?
So '"key" : null' is equivalent to omitting that element?



Sebastian




More information about the Playlist mailing list