« Back to Product

Documentation

WAC_SetRepeat

 boolean WAC_SetRepeat (int $InstanceID, boolean $Repeat) 

Parameters

InstanceID

ID of the controlled media player

Repeat

TRUE for On, FALSE for Off

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

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.

Example

WAC_SetRepeat(12345, true); //Activate playlist repeat
Any questions?