List of known XSPF extensions

From XiphWiki
Revision as of 05:07, 14 November 2012 by Psoul (talk | contribs) (Removed previous addition as abandoned.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page is intended as a list of XSPF extensions used in the wild. The goal is to list precise and up to date information which we will need your help with! Information given must be understandable and (at best) should be precise enough to be implementable. The more complete this list is the more likely is the future support of a specific extension in more than just one piece of software.


Example file from 360SoundCheck (Genre "Rock"):



<extension application="">
    <playlist><![CDATA[Grupo Fantasma listening party]]></playlist>
    <playlist><![CDATA[Midweek Mini Sampler 1]]></playlist>
    <playlist><![CDATA[New In SoundCheck]]></playlist>
    <playlist><![CDATA[The Swed.u.s.h Connection 1]]></playlist>
    <playlist><![CDATA[The Swed.u.s.h Connection 2]]></playlist>
    <playlist><![CDATA[Yadira Brown]]></playlist>





<extension application="">



Beep Media Player 2 ('BMPx'), AudioSource ('MPX')

Beep Media Player 2





     <xspf:meta rel=""></xspf:meta>
     <xspf:album>The Information</xspf:album>
     <xspf:title>Elevator Music</xspf:title>
     <xspf:extension application="">
       <bmp:volume-relative-path>media/truecrypt1/Music/Beck/The Information/01 Elevator Music.mp3</bmp:volume-relative-path>


This extension stores additional information about the track's location based on data retrieved from HAL.

The goal is to store information about the locality of a track independent of a mount point (on UNIX-like systems).


This is a unique identifier for a "volume" (harddisk partition, other kinds of partitions, anything that can be mounted onto a directory).


This is a unique identifier for a device, on which the volume specified by volume-udi resides.

Both of these identifiers can be obtained from HAL for almost all kinds and types of storage media and partitions/volumes.


This is the path of/to the track, and starts from (and excluding of) the root directory of the named volume.

This way the location of a track is first identified by the volume-udi and device-udi, from which the current mount point of a volume (partition, etc.) can be identified, to which the volume-relative path is appended to finally obtain the fully qualified path to the track.

Project Opus

Example file from Project Opus (Artist Fred Eaglesmith):

Playlist / Album


<extension application="">
  <po:info type="playlist" nid="10197" />


The <po:info> element contains high level details about a playlist. The "type" attribute refers to the type of playlist being loaded - either an actual playlist, or an album. The "nid" (integer) is the internal ID of the playlist/album within Project Opus.



<extension application="">
  <po:clip length="293000"/>
  <po:region name="Port Dover"></po:region>
    <tag tid="2593" size="9">catchy</tag>
    <tag tid="2019" size="12">upbeat</tag> 
  <po:genre name="Country"></po:genre>
  <po:license type="po" />



This element contains playback information for the player(s). Right now there is just one integer for track "length" (in milliseconds).


The region element is used to display the locale of the given artist. Right now, the content of this element is the link to a region portal on Project Opus, while the "name" attribute is the actual name of the city or region.


Tags describe content on Project Opus in a similar manner as what is found on most tag enabled sites. Each tag has an internal ID in the "tid" attribute, while the "size" (integer) is used to govern the size of the tag in a tag cloud, also found in the player. The content of each tag element is the tag text itself.


Similar to the region element, the genre element is used to display the genre of the given song. Again, the content of this element is the link to a genre portal on Project Opus, while the "name" attribute is the actual name of the genre.


This element contains the user ID (an integer) of the content publisher.


This element contains the node ID (an integer) of a track.


The content of this element is the number of times the track has been listened to.


The license element only contains a "type" attribute, which indicates the type of license the song has. A value of "po" means the song is for sale on Project Opus. The other possible values are based on the song being free for download, and licensed through the Creative Commons. Possible CC values are as follows:

  • "by-nc-nd" - Attribution-NonCommercial-NoDerivs [1]
  • "by-nc-sa" - Attribution-NonCommercial-ShareAlike [2]
  • "by-nc" - Attribution-NonCommercial [3]
  • "by-nd" - Attribution-NoDerivs [4]
  • "by-sa" - Attribution-ShareAlike [5]
  • "by" - Attribution [6]


Yes, please.

See also