Selecting, playing, pausing media with OSC.
I have an application that communicates with Millumin via OSC. I am having issues trying to find the correct OSC commands to produce the functionality I need.
What I would like to do:
A method is called from the application that provides a specific video file name and/or column name, a start time for the specified video and an end time for the video.
When the method is triggered, all videos should pause at their current state (pause, not stop and reset). Then, the video name/column should set the spedificed video's play head to the start time (in seconds). The video should play from that start time and then, once the provided end time is reached, the video should pause (not restart). This method will be called every time new user input is registered (currently using javascript Gamepad API to determine values),
I have tried this using a media layer and an independent layer. However, after setting the play head time, unless I launch the column, the new selected video does not play - but when I launch the column, it automatically restarts the video from the begining rather than starting at the specified start time.
I have tried pausing all media, setting the play head to the start time, selecting and playing the column or video, and then pausing after a settimeout. I have tried this in several different orders but I am not able to get a full pause, new video playing at set time and then full pause again .
Any help would be appreciated.