boolean WAC_SetRepeat (int $InstanceID, boolean $Repeat)
InstanceID | ID of the controlled media player |
Repeat | TRUE for On, FALSE for Off |
If the command succeeds, it returns TRUE, otherwise FALSE.
Enables / Disables the repetition of the playlist by the media player with the ID InstanceID.
The command takes effect immediately, but will be noticeable until the next track in the current playlist. The current playback is not affected.
WAC_SetRepeat(12345, true); //Activate playlist repeat