XML Playlists

XML playlist are beneficial because additional information can be displayed within the player.

An XML playlist is a text-based file that contains information about each playlist "item".. The Pickle XML playlist format uses a simple and flexible <item> structure. If you're not familiar with XML, click here for a brief introduction to XML.

Pickle Player uses a relatively generic playlist format, which includes the following information:

- Filename
- Artist
- Title
- Image
- NOTE: Additional tags can also be included.

The information is organized in the XML as:

<playlist>

    <item>
        <filename>example_A.mp3</filename>
        <title>Song A</title>
        <artist>Some Artist</artist>
        <image>path/to/image.jpg</image>
    </item>

    <item>
        <filename>example_B.mp3</filename>
        <title>Song B</title>
        <artist>Some Other Artist</artist>
        <image>path/to/image.jpg</image>
    </item>

</playlist>

 

Loading an XML playlist into the player

To load an XML playlist, simply set "data-media" to the URL to the XML file.

Example:

<div data-media="myPlaylist.xml">

 

Display

If the skin contains a visible playlist, the Artist and Title as well as the image can be displayed. The skin defineds how these items are position within the visible playlist.

You can use HTML code or regular text within each tag.