TCP Remote Control Reference
All global settings are stored in an XML file that is stored in the Documents folder of the current user:
Edit this files in Notepad and go under <tcp_control> section to activate the TCP Control :
Write it following this example:
<tcp_control>
<addr ip=”YOUR IP” port=”5000″/>
</tcp_control>
Once done, save and restart Exaplay.
Exaplay will maintain a persistent thread for each connection until the other end closes the socket, so, it is alright to keep it open, and even polling cue state information.
Command | Description | Send example | Return example | |
hello | Echo test | hello <cr> <lf> | hallo | |
ver | To retrieve the current version | ver <cr> <lf> | Exaplay,1.1.0.0 | |
play %1 | To play the %1 cue index
If %1 doesn’t exist, then play current selected cue Index %1 starts from 1 |
play 3 <cr> <lf> | OK | |
stop | Stop current playback | stop <cr> <lf> | OK | |
pause | Pauses current cue playback | pause <cr> <lf> | OK | |
seek %1 | Seeks current cue to %1, in seconds | seek 10 <cr> <lf> | OK | |
get cue | Retrieves current cue state, returns a string with values separated by commas
|
get cue 012345 <cr> <lf> | play,1,562,18.733,50.000,30.00 | |
Index | Value | |||
0 | Current play status, could be ‘play’,’stop’, or ‘pause’ | |||
1 | Current play index, starting from 1 | |||
2 | Current frame index for the playing cue | |||
3 | Current time for playing cue | |||
4 | Duration of the current cue | |||
5 | FPS of current cue | |||
get vol | Retrieves the current audio volume, from 0 to 100 | get vol <cr> <lf> | 100 | |
set vol %1 | Set the current audio volume by %1, from 0 to 100 | set vol 50 <cr> <lf> | OK |