XML Shareable Playlist Format: Difference between revisions

Content deleted Content added
No edit summary
m Removing link(s) undefined (XFDcloser)
 
(40 intermediate revisions by 35 users not shown)
Line 13:
}}
 
'''XML Shareable Playlist Format''' ('''XSPF'''), pronounced ''spiff'',<ref>{{cite web |url=httphttps://xspf.org/quickstart/|title=XSPF: XML Shareable Playlist Format: Quick Start|accessdateaccess-date=2009-04-23}}</ref> is an [[XML]]-based [[playlist]] format for [[digital media]], sponsored by the [[Xiph.Org Foundation]].
 
XSPF is a datafile 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 webWeb page, XSPF is intended to provide portability for playlists.
 
== 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 (e.g., on the webWeb). XSPF's meta-data rich open format has permitted a new kind of playlist sharing called ''content resolution''.
 
A simple form of content resolution is the localisation of a playlist based on [[metadata]]. AAn XSPF-compliant content resolver{{huh|date=December 2011}} will open XSPF playlists and search a catalog{{Which?|date=December 2011}} for every title with <ttcode>&lt;creator&gt;</ttcode>, <ttcode>&lt;album&gt;</ttcode> and <ttcode>&lt;title&gt;</ttcode> 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.
 
== Example of an XSPF 1.0 playlist ==
<sourcesyntaxhighlight lang="xml">
<?xml version="1.01" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<title>InternalWindows ExamplePath</title>
<___location>file:///C:/\music/\foo.mp3</___location>
</track>
<track>
<title>Linux también existePath</title>
<___location>file:///mp3smedia/canción_1music/foo.mp3</___location>
</track>
<track>
<title>Relative Path</title>
<___location>music/foo.mp3</___location>
</track>
<track>
Line 41 ⟶ 45:
</trackList>
</playlist>
</syntaxhighlight>
</source>
 
== History ==
XSPF was created by an ''ad- hoc'' working group whichthat kickedcommenced offactivities 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.
 
== Features ==
* A playlist format like [[M3U]] or [[Advanced Stream Redirector|ASX]]
* [[MIME]] content-type of <ttcode>application/xspf+xml</ttcode>
* Patent-free (no patents by the primary authors)
* Specification under the [[Creative Commons licenseslicense|Creative Commons Attribution-NoDerivs 2.5 license]]
* XML, like [[Atom (standard)|Atom]]
* [[Unicode]] support
* [[Cross-platform]] support
 
== Software and web playlist converters ==
{{category see also|Media players|Tag editors}}
* [[Amarok (software)|Amarok]]
* [[Foobar2000]] (with appropriate plugin)
* [[Audacious (software)|Audacious]]
* [[Banshee (media player)|Banshee]]
* [[Clementine (software)|Clementine]]
* [http://www.tomahawk-player.org/ Tomahawk Music Player]
* [[Tomahawk (software)|Tomahawk]]
* [[VLC media player]] (stand-alone player, available on every major platform)
* [[XMMS2]] (has a plugin to parse XSPF)
* [[Last.fm]] (export of playlists and personal tag radios in XSPF)
* [http://www.neutronmp.com Neutron Music Player]
* [[Soundiiz]] (playlist converter for several streaming sites)
* [[youtube-dl]] (downloader)
 
==See References also==
{{Portal|Free and open-source software}}
; Other playlist file formats
* [[M3U]] - The most common playlist format
* [[PLS (file format)|PLS]] - SHOUTcast
 
==References==
{{Reflist}}
 
== External links ==
* {{official website|httphttps://xspf.org/}}
{{Portal|Free software}}
* [https://validator.xspf.org/ Online XSPF Validator]
* {{official website|http://xspf.org/}}
* [httphttps://validator.xspf.org/ Onlinespec XSPF ValidatorVersion 1 specification].
* [http://xspf.org/xspf-v1.html XSPF Version 1 specification].
 
{{Xiph.org}}
 
{{DEFAULTSORT:Xml Shareable Playlist Format}}
[[Category:Open formats]]
 
[[Category:Playlist file formats]]
[[Category:Playlist markup languages]]
[[Category:Xiph.Org projects]]
[[Category:XML-based standards]]
[[Category:Playlist markup languages]]