External TCP/UDP Control Specifications
Implementation: Photon v 11
UDP/TCP Default Port
Unless overridden, Photon’s and Xenon’s default TCP and UDP control port is: 55503
The TCP server will reply with the received commands to each connected client.
UDP commands will be replied to as broadcasts on the main network interface using the same UDP port as configured for the reception.
UDP/TCP Network Syntax
Network Control
TimeLine Speed
SET_TIME_SPEED
Speed
[float32]
[-5 ; 5]
TimeLine Seek
SET_TIME_SEEK
Frame #
[unsigned int32]
[0 ; N]
TimeLine FreeRun
SET_TIME_FR
FreeRun on/off
[unsigned int32]
[0 ; 1]
TimeLine LTC
SET_TIME_LTC
Time-Code on/off
[unsigned int32]
[0 ; 1]
Special Codes
90BC9E48_6D84_4F8C_AA23_72E3379AC71C
special_code
[unsigned int]
[0 ; N]
Execute Cue ID
CUE_EXEC_ID
Cue # by ID
[unsigned int32]
[0 ; N]
Query system state
GET_SYSTEM_STATE
No parameters
Delete Media
REMOVE_MEDIA
"media_name.extension"
Special Codes
Normal Mode
Sleep Mode
Fire Alarm
Fire Alarm 2
Reboot Photon
Reboot Server
Quit Photon
Shutdown Server
Enable Offline Mode
Disable Offline Mode
Show/Hide UI
Syntax Rules
Capitalization must be respected.
Spaces between Tag, Opcode and Parameters are mandatory.
Examples
Cue trigger via ID number
Set Photon in Sleep Mode
Get Server State
When querying the system state using the above command, Photon will reply using its internal XML-like syntax. Below is an example of the system-state reply syntax:
Remove Media
Original File
VCI
REMOVE_MEDIA command allows to delete medias from the Media Library (including medias in playlist and actual files in content folder)
Please note the double-quotes (") in the command are required.
NB: it implements explicit removal with a complete filename. For example if you remove "file.vci" it will remove all related vci/vcd/aci/acd files but not the original media, you will need to explicitly call the REMOVE_MEDIA command with "file.mp4" to get rid of the original.
Last updated
Was this helpful?