Remote Control
Getting Feedback On the Playback Progress
It is possible to activate optional reports that will be sent periodically via shared variables. To do so, open the Optional reports property group and set the Send updates property to “on” (FIG. 53).
FIG. 53 Optional Reports properties
You can control the periodicity of the updates as well as the name of the variables that receive them. Feedback is sent by default via the following shared variables:
playbackProgress: Relative progress as a percentage of the media duration
playbackTimePosition: Absolute time position
playbackMediaDuration: Reports the duration of the media
For more information on how to access the content of these variable over the network, refer to Shared Variables on page 85.
If the controlled media is set to loop, the progress percentage resets to zero when the media loops, while the absolute time position does not.
Knowing the Current Position With Extra Accuracy
The
Make sure that all
In order to use the play/pause command with time position, you need to infer the current position as well as when to send the pause command. You can simply copy it from the current value of the playback variable when sending a play command to resume playback.
42 | Inspired XPress - Programming Guide |