Skip to main content

Set Directory for Auto XML Import

XML data can be automatically imported into a capturing timeline by selecting a folder where SportsCode will look for incoming data. The XML format must be in the SportsCode format (such as that used in CODA and iCODA). See the XML Edit Import description for specifics on the data structure, particularly the session-info section. To make the time synchronization work really precisely, the computer clocks of the capturing and coding computers should be synchronized using network time. In order to synchronize properly, the movie must be captured using SportsCode.

When using this import option, the file name must have the tag <import> in the beginning of the file name otherwise SportsCode will not insert the data in the timeline. A file name might be “<import>LALakers.xml”. Double underscores can be used in place of the angle brackets, so an alternate file name could be __import__LALakers.xml.

The import directory should be set prior to capture, but can be done at anytime during capture. The directory needs to be reset if the application is quitted.

The auto XML import will not update instances that have already been imported into the timeline for efficiency reasons as all XML data does not have to be reloaded from the start constantly. In the case where the XML data has been updated for existing (past) instances, the xml must be reloaded entirely. To do this: Choose File > Import > Reload auto XML import. The timeline will empty and all XML data will be reloaded.

During capture: Hold down CTRL+COMMAND+A and click and drag the playhead to adjust the instances during an auto XML import. A time offset will be calculated, stored and used to import the XML for the remaining time that SportsCode running. This offset will be discarded once SportsCode has been quit, but the instances will remain in place in the movie package after it is closed.