\\Serial control listens on COM1 with settings of 9600, 8, none, 1, No Flow Control \\TCP port 27384 Generic Responses: @error, "Invalid message format."; @error, "Unknown message type."; Ping Format: @ping; Description: Checks to ensure that the player is listening. Should send an "@ok;" message back in response. Response: @ok; Upload File Format: @upload,,; Description: Uploads a file to the player. The destination folder for the file is chosen by the player based on the file extension: .lgsc - ".\Schedules" folder .lgsq - ".\Sequences" folder Recognized image file - ".\Logos" folder Other - "." (Application) folder The file size is specified in bytes, and the file data is sent unformatted after the semicolon. Responses: @ok; @error, "File '' could not be uploaded, bytes: expected: "; @error, "File '' could not be uploaded, invalid handle returned from a failed attempt to open the file for writing."; @error, "Missing file size."; @error, "Missing filename."; Load Schedule Format: @load,; Description: Loads an existing schedule file off of the player's hard drive and into memory, ready to be played. Responses: @ok; @error, "File '' does not exist on the remote machine."; @error, "Invalid schedule file"; @error, "Missing filename."; @warning, "Schedule sometimes exceeds the maximum simultaneous elements limit. Items might sometimes not get drawn."; Play Active Schedule Format: @play; Description: Plays the last schedule that was successfully loaded. Responses: @ok; @error, "No schedule loaded."; Stop Active Schedule Format: @stop; Description: Stops the currently active schedule. Responses: @ok; Update Item Format: @update,,,...; Description: Updates a specific attribute of a specific item in the currently active schedule. The item name, part of the information in a schedule file, is used to identify the particular item. Formats for setting specific attributes are detailed below. Generic Responses: @error, "Missing update message type."; @error, "Unknown update message type."; @error, "Missing update item name.", "Unknown update message type."; Update Item: Set Logo Format: @update,,logo,; Description: Changes the image/data file used for a particular item. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Invalid logo file."; @error, "File '' does not exist on the remote machine."; @error, "Missing filename."; Update Item: Set Sequence Format: @update,,sequence,; Description: Changes the sequence file used for a particular item. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Invalid Sequence file."; @error, "File '' does not exist on the remote machine."; @error, "Missing filename."; Update Item: Show Format: @update,,show; Description: Shows a particular item that was previously hidden. Response: @ok; @error, "Item '' does not exist in the current schedule."; @warning, "Showing item exceeds the maximum simultaneous elements limit. Items might sometimes not get drawn."; Update Item: Hide Format: @update,,hide; Description: Hides a particular item. This item will remain hidden until a show command is sent for this item, or the schedule is reloaded from the hard drive. Response: @ok; @error, "Item '' does not exist in the current schedule."; Update Item: Set Text Format: @update,,text,; Description: Changes the text for an item that was loaded from a .lgdt file. Response; @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Missing text item."; Update Item: Set Font Name Format: @update,,fontname,; Description: Changes the font for an item that was loaded from a .lgdt file. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Font '' does not exist on the remote machine."; @error, "Missing font name."; Update Item: Set Font Size Format: @update,,fontsize,; Description: Changes the font size for an item that was loaded from a .lgdt file. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Missing font size."; Update Item: Set Font Bold Format: @update,,bold,; Description: Changes the font bold style for an item that was loaded from a .lgdt file. The attribute can be either true or false. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Missing bold value."; @error, "Unrecognized bold value."; Update Item: Set Font Italics Format: @update,,italics,; Description: Changes the font italics style for an item that was loaded from a .lgdt file. The attribute can be either true or false. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Missing italics value."; @error, "Unrecognized italics value."; Update Item: Set Font Underline Format: @update,,underline,; Description: Changes the font underline style for an item that was loaded from a .lgdt file. The attribute can be either true or false. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Missing underline value."; @error, "Unrecognized underline value."; Update Item: Set Font Strikethrough Format: @update,,strikethrough,; Description: Changes the font strikethrough style for an item that was loaded from a .lgdt file. The attribute can be either true or false. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Missing strikethrough value."; @error, "Unrecognized istrikethrough value."; Update Item: Set Text Vertical Alignment Format: @update,,valign,; Description: Changes the vertical alignment for an item that was loaded from a .lgdt file. The attribute can be top, center, or bottom. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Unrecognized alignment value."; @error, "Missing alignment value."; Update Item: Set Text Horizontal Alignment Format: @update,,halign,; Description: Changes the horizontal alignment for an item that was loaded from a .lgdt file. The attribute can be left, center, or right. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Item's logo is an image, not text."; @error, "Unrecognized alignment value."; @error, "Missing alignment value."; Update Item: Set Foreground Color Format: @update,,forecolor,,,; Description: Changes the foreground color of a particular item. The color is specified using the three components red, green, and blue. Each value can range from 0 to 255. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Missing some or all color component values."; Update Item: Set Foreground Opacity Format: @update,,foreopacity,; Description: Changes the foreground opacity of a particular item. A value of 0 is fully transparent, while a value of 255 is fully opaque. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Missing opacity value."; Update Item: Set Scale Format: @update,,scale,,; Description: Changes the horizontal and vertical scale of an item. A value of 1.0 for each dimension will scale the item to its natural size. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Missing one or both scale values."; Update Item: Set Translation Format: @update,,translate,,,; Description: Changes the translation of an item. A value of 0.0 will keep the item in its natural location. Positive values will translate it to the right or down, and negative values will translate it to the left or up. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Missing one or both translation values."; Update Item: Set Background Visibility Format: @update,,backvisible,; Description: Sets whether or not the solid background is visible behind the itme. can be either true or false. Response: @ok; @error, "Item '' does not exist in the current schedule."; Update Item: Set Background Color Format: @update,,backcolor,,,; Description: Changes the background color of a particular item. The color is specified using the three components red, green, and blue. Each value can range from 0 to 255. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Unrecognized visibility value."; @error, "Missing visibility value."; Update Item: Set Background Opacity Format: @update,,backopacity,; Description: Changes the background opacity of a particular item. A value of 0 is fully transparent, while a value of 255 is fully opaque. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Missing opacity value."; Update Item: Set Background Scale Format: @update,,backscale,,; Description: Changes the horizontal and vertical scale of the background for an item. A value of 1.0 for each dimension will scale the item to its natural size. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Missing one or both scale values."; Update Item: Set Background Translation Format: @update,,backtranslate,,,; Description: Changes the translation of the background for an item. A value of 0.0 will keep the item in its natural location. Positive values will translate it to the right or down, and negative values will translate it to the left or up. Response: @ok; @error, "Item '' does not exist in the current schedule."; @error, "Missing one or both translation values."; Update Item: Set Start Date Format: @update,,startdate,; Description: Changes the start date associated with the item. is in the format //. Responses: @ok; @error, "Missing date value."; @warning, \"Adjusted date exceeds the maximum simultaneous elements limit. Items might sometimes not get drawn.\"; Update Item: Set End Date Format: @update,,enddate,; Description: Changes the end date associated with the item. is in the format //. Responses: @ok; @error, "Missing date value."; @warning, \"Adjusted date exceeds the maximum simultaneous elements limit. Items might sometimes not get drawn.\"; Update Item: Set Start Time Format: @update,,starttime,