This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources. Find sources: "XML Shareable Playlist Format" – news ·newspapers ·books ·scholar ·JSTOR(March 2013) (Learn how and when to remove this message) |
Filename extension | .xspf |
---|---|
Internet media type | application/xspf+xml |
Developed by | Xiph.Org Foundation |
Type of format | Playlist |
Extended from | XML |
XML Shareable Playlist Format (XSPF), pronouncedspiff,[1] is anXML-basedplaylist format fordigital media, sponsored by theXiph.Org Foundation.
XSPF is a file format for sharing the kind ofplaylist 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.
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 (e.g., on the Web). XSPF's meta-data rich open format has permitted a new kind of playlist sharing calledcontent resolution.
A simple form of content resolution is the localisation of a playlist based onmetadata. An XSPF-compliant content resolver will open XSPF playlists and search a catalog for every title with<creator>
,<album>
and<title>
tags, then localise the playlist to reference the available matching tracks. A catalog may reference 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 is shareable playlists that are not tied to a specific collection or service.
<?xml version="1.1" encoding="UTF-8"?><playlistversion="1"xmlns="http://xspf.org/ns/0/"><trackList><track><title>WindowsPath</title><location>file://C:\music\foo.mp3</location></track><track><title>LinuxPath</title><location>file:///media/music/foo.mp3</location></track><track><title>RelativePath</title><location>music/foo.mp3</location></track><track><title>ExternalExample</title><location>http://www.example.com/music/bar.ogg</location></track></trackList></playlist>
XSPF was created by anad hoc working group that commenced activities 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 a recommendation of any standards body besides the Xiph.Org Foundation.
application/xspf+xml