Playlist

Listed below are all tags that can be used in the playlist XML file.

  • location
  • creator
  • title
  • image
  • jsbutton
  • duration


    <?xml version="1.0" encoding="UTF-8"?>
    <playlist>
      <trackList>
        
        <track>
            <location>/mp3files/song.mp3</location>
            <creator>Creator name</creator>
            <title>Song Title</title>
            <image>/images/album.jpg</image>
            <jsbutton>alert('js action')</jsbutton>
            <duration>03:25</duration>
        </track>
    
      </trackList>
    </playlist>
    


    location
    The full path to the mp3 file.


    creator
    The creator of the song to display in the playlist.


    title
    The title of the song to display in the playlist.


    image
    The full path to the image file.


    jsbutton
    Here can specify a Javascript function to call when the button is pressed.

    Download example implementation


    duration
    The duration of the song to display in the playlist.