Media Jukebox Track Info SDK
(last updated February 19, 2002)

Introduction

This SDK contains everything you need to create your own Track Info template for Media Jukebox.

Writing a template

Track Info template is a standard HTML file with some parts of it replaced by keywords which Media Jukebox replaces with track information.

Following keywords are available:

Paths:

TRACKINFO_INSERT_TRACKPATH - full path to the currently playing file. ( example E:\\Music\Metallica\ )

Graphics:

TRACKINFO_INSERT_IMAGE - Image file associated with track.

General Info (text):

TRACKINFO_INSERT_ARTIST - Artist
TRACKINFO_INSERT_ALBUM - Album
TRACKINFO_INSERT_TITLE - Title
TRACKINFO_INSERT_YEAR - Year
TRACKINFO_INSERT_COMMENT - Comment
TRACKINFO_INSERT_CUSTOM1 - Custom field 1
TRACKINFO_INSERT_CUSTOM2 - Custom field 2
TRACKINFO_INSERT_CUSTOM3 - Custom field 3
TRACKINFO_INSERT_GENRE - Genre
TRACKINFO_INSERT_FORMAT - Format of the encoding
TRACKINFO_INSERT_BITRATE - Bitrate
TRACKINFO_INSERT_DURATION - Duration in hours and minutes format (01:43)
TRACKINFO_INSERT_SIZE - Size of the file
TRACKINFO_INSERT_TRACKNUMBER - Track number
TRACKINFO_INSERT_RATING - File rating
TRACKINFO_INSERT_PLAYLISTS - Playlists associated with the track.
TRACKINFO_INSERT_FILENAME - Full path to currently playing file.
TRACKINFO_INSERT_NUMBERPLAYED - Number of times file has been played.
TRACKINFO_INSERT_DATE - Date when file was created.
TRACKINFO_INSERT_LAST_PLAYED - Date when file was last played.

TRACKINFO_INSERT_LYRICS - Track lyrics
TRACKINFO_INSERT_NOTES - Track Notes

TRACKINFO_INSERT_PN_POSITION - Position of the track in currently playing list.
TRACKINFO_INSERT_PN_TRACKS - Total number of tracks in currently playing list.

Custom names:

CUSTOMNAME1 - user defined name of the custom field 1
CUSTOMNAME2 - user defined name of the custom field 2
CUSTOMNAME3 - user defined name of the custom field 3

If you want to link to a page which contains Track Info keywords use TRACKINFO_OPENPAGE_ before filename.

    Example: <a href="TRACKINFO_OPENPAGE_lyrics.html">LYRICS</a>

Support

If you have questions or concerns not addressed by this SDK, or just have suggestions for making the SDK more understandable, please visit our developer's forum