boolean WAC_AddFile (int $InstanceID, string $Filename)
InstanceID | ID of the controlled media player |
Filename | Path to the file to be played |
If the command succeeds, it returns TRUE, otherwise FALSE.
Adds a file to the internal playlist of the Media Player with ID InstanceID.
It does not check whether the file already exists. The same file can appear several times in the playlist.
To start playing, you must call WAC_Play.
//Please note the slashes in the path.
//The exact meaning you can read in the PHP manual:
//http://de.php.net/manual/de/language.types.string.php
WAC_AddFile(12345, "D:/MP3s/favoritesong.mp3");