Documentation
WAC_Next
boolean WAC_Next (int $InstanceID)
Parameters
InstanceID | ID of the controlled media player |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Goes in the internal playlist by the media player with ID InstanceID forward a title. If shuffle is on, a song is selected randomly. If playback is started, after the retreat, the new current track will be played from the beginning.
If the playlist is empty, an error message is generated.
If the playlist arrived at the end, an error message will be generated or, if repeat is activated, restarts the playlist from the beginning.
Example
WAC_Next(12345);