TimeCodeServer Re-emerges

TimeCodeServer Re-emerges
The TimeCodeServer was a way for the player to push out information to a network port that would allow another program to read it. This can be useful for someone who wishes to link a haptic device to the video and have it effected but certain time points in the video. The information that is past to the port is the video name and location, the dometype of the video, the position in seconds of the video and whether the video is paused or playing. This is at the early stages and its use will be dictated by the people using it.

How to switch it on.
To do this you will have to edit the player.ini file located in the "Whirligig\production\menu" folder and the video you wish to send the information out to the ports ini in the "Whirligig\production\menu\inis".

Within there you will find a timecodeserver option which can be set like this:
 
 timecodeserver=off (Timecodeserver is off)
 timecodeserver=on (Timecodeserver is on and set to 2000)
 timecodeserver=2200 (Timecodeserver is on and set to 2200 or whatever number you put in there.)

Once the TimeCodeServer is on you can read the output from it, an example using NetCat is below.
----------------
D:\netcat-1.11>nc localhost 2000
C "D:\Media\videos\My Holiday.mp4"
dometype = 8
S
S
S
S
----------------

As I said it's currently in development and as I'm not using it for anything it requires people who want to use it to let me know what they need to make it useful for them. So if you any suggestions or questions let me know.

Notes on the Script written for this function

The TimeCodeServer was originally asked for by Lovely2 (lovely@crm114.net) for a project he was working on. He wrote the original code and I adapted it for the player. He is happy to release the code and for this reason I am happy to also. If you would like a copy of the script that allows this function please email me and I'll send you the a copy. Thanks again to Lovely2 for assisting with the implementation of this feature for the player.

Download the new version from the download page here :http://www.whirligig.xyz/player2-1-2/