Documentation
WAC_GetPlaylistPosition
int WAC_GetPlaylistPosition (int $InstanceID)
Parameters
InstanceID | ID of the device to be switched |
Returns
Value between 1 and WAC_GetPlayListLength, if the playlist should be empty, it returns -1.
Description
Returns the current position of the internal playlist of the Media Player with ID InstanceID.
Example
$pos = WAC_GetPlaylistPosition(12345);