InsertPlaylistFile
Syntax
InsertPlaylistFile(file, position)
Description
Removes the specified track from the playlist.
Parameters and Remarks
file the full path of the file to add to the playlist position the position to add the file at in the playlist. This is a zero indexed integer, and it must be less than GetPlaylistLength.
Examples
JScript
// insert a track at the beginning of the playlist
winamp.InsertPlaylistFile("c:\test.mp3", 0);