GetPlaylistLength
Syntax
GetPlaylistLength()
Description
Returns the number of tracks in the playlist.
Parameters and Remarks
NOTE: The first track in the playlist is position zero
Examples
JScript
var length = winamp.GetPlaylistLength();
if (length == 0)
{
// the playlist is empty
}