XML Shareable Playlist Format

From Wikipedia, the free encyclopedia

XSPF
File extension: .xspf
MIME type: application/xspf+xml
Developed by: Xiph.Org Foundation
Type of format: Playlist
Extended from: XML

XML Shareable Playlist Format (XSPF), pronounced spiff, is an XML-based playlist format for digital media, sponsored by the Xiph.Org Foundation. Lucas Gonze of Yahoo.com/Webjay.org originated the format in 2004.

XSPF is a data format for sharing the kind of playlist that can be played on a personal computer or portable device. In the same way that any user on any computer can open any web page, XSPF is intended to provide portability for playlists.

Contents

[edit] Features

  • A playlist format like M3U or ASX
  • MIME content-type of application/xspf+xml
  • Patent-free (no patents by the primary authors).
  • Specification under a Creative Commons license.
  • XML, like Atom
  • Unicode support
  • Cross platform support

[edit] History

XSPF was created by an ad-hoc working group which kicked off in February 2004, achieved rough consensus on version 0 in April 2004, worked on implementations and fine tuning throughout summer and fall 2004, and declared the tuned version to be version 1 in January 2005.

XSPF is not yet an Internet standard, and is not a recommendation of any standards body besides Xiph.Org Foundation.

[edit] Specification

For detailed documentation, see the XSPF Version 1 specification.

[edit] Example of a XSPF 1.0 Playlist

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
    <track>
      <title>Nobody Move, Nobody Get Hurt</title>
      <location>file:///mp3s/song_1.mp3</location>
    </track>
    <track>
      <title>See The World</title>
      <location>http://www.example.com/music/world.ogg</location>
    </track>
  </trackList>
</playlist>

[edit] Content Resolution

Traditionally playlists have been composed of file paths that pointed to individual titles. This allowed a playlist to be played locally on one machine or shared if the listed file paths were URLs accessible to more than one machine (i.e. on the web). XSPF's meta-data rich open format has permitted a new kind of playlist sharing called content resolution.

In the simplest terms, content resolution is the local recreation of a playlist based on meta-data. A content resolver will open XSPF playlists and search a catalog for every title with <creator>, <album> and <title> tags, then recreate the playlist with the available matching titles. A catalog may be a collection of media files on a local disk, a music subscription service like Yahoo! Music Unlimited or some other searchable archive. The end result are shareable playlists that are not tied to a specific collection or service.

Currently Mobster for iTunes (Windows and Mac) and Windows beta versions of MusicIP are the only functional content resolvers. Mobster is known to open XSPF files from Musicmobs, Last.fm and Yahoo! Music Unlimited.

[edit] Software

Many more applications are listed on the XSPF site below.

[edit] External links


In other languages