« Back to Product

Documentation

WAC_SetShuffle

 boolean WAC_SetShuffle (int $InstanceID, boolean $Shuffle) 

Parameters

InstanceID

ID of the controlled media player

Shuffle

TRUE for On, FALSE for Off

Returns

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

Description

Enables / disables the shuffle 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_SetShuffle(12345, true); //Zufallswiedergabe einschalten
Any questions?