Playlist Overview

Pickle Player can play either a single file or a playlist. If a playlist is defined for "data-media", tracks defined in the playlist will playback in consecutive order, regardless of whether a visible playlist is available within the player.

If a skin includes a visible playlist (Control Element), the track list will appear within the player. If a skin does not include a visible playlist (Control Element), the tracks will play, but the track list not be visible to the end user.

Playlists are loaded into the player using the same method that individual media files are loaded into the player. The only difference is the kind of file that is used.

Here's an example of how you would load a playlist into Pickle:

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

 

Pickle Player determines the kind of file used for "data-media" based on the file's extension.

There are two kinds of playlists that can be used:

- Simple Text Based Playlists
- XML Playlists

Simple text-based playlists must use a "txt" extension. XML Playlists must use an "xml" extension.

NOTE: Technically, Pickle only looks at the file's extension (the last three characters of the file) defined in data-media. So if you're using a database or some server-side script to generate a playlist, you can simply tack on ?foo.xml or &foo.xml or #foo.xml to the end of the URL so that Pickle will know what kind of file is being sent in.

The benefit of using an XML playlist is that you can designate additional information, such as artist, title and image.