XML Sharable Playlist

XML Sharable Playlist (XSPF) (pronounced "spiff", but not to be confused with SPIFF) is an open playlist format based on XML.

It provides no information about the metadata within or about the file present in the playlist. This is a deliberate decision not to compete with the already existing formats, and because metadata answers a completely different question than a playlist format. Metadata may, however, be linked from the playlist and will be loaded in accordance with the format of those files.

Specification

 * See http://xspf.org/xspf-v1.html

Example
   file:///song_1.ogg http://www.example.com/music/song_2.spx ftp://ftp.example.org/public/song_3.mp2 

In this example there are three songs in the playlist. The first one is on the local computer. The second one is on the HTTP server. And the final one is on the FTP server. It should be noted that local files are still to be recorded via the URI, not simply as a path.

JSPF
JSPF is a variant of XSPF that is encoded in JSON rather than XML.

Reference

 * http://xspf.org/
 * JSPF