Other

 

Sends various commands that are not contained within the above categories.

  • Pause: Pauses presentation playback for a specified number of milliseconds.

  • Reboot: Reboots the BrightSign player. See the bottom of the page for an example.

  • Set Variable: Sets a new value for the specified User Variable.

  • Increment Variable: Increases the value of the specified User Variable by 1.

  • Decrement Variable: Decreases the value of the specified User Variable by 1.

The Increment Variable and Decrement Variable commands have the following special rules:

  • If the command is used on a number with a decimal value, the number will be converted to an integer by removing the decimal (i.e. the number is always rounded down).

  • If the command is used on a string, the value will be converted to a zero. Then the increment/decrement action will be performed on the zero. Negative numbers are also possible.

  • Reset Variable: Resets the specified User Variable to its current default value.

  • Reset Variables: Resets all User Variables to their current default values and all Media Counters to zero.

  • Switch to Presentation: Switches to a different presentation. Before using this command, you must add additional presentation(s) by navigating to Presentation Settings > Support Content > Switch Presentation. The following settings must be identical for both presentations: BrightSign Model, Connector Type, Screen Resolution, Monitor Orientation, and Monitor Overscan.

    • Specify Presentation: Choose the presentation to switch to from the dropdown list.

    • Specify via user variable: Choose the User Variable that will determine which presentation to switch to. The value of the User Variable must be identical to the name given to the target presentation in the Switch Presentations tab.

  • Update Data Feed: Refreshes the contents of the specified Data Feed.

  • Resize Zone: Repositions and/or resizes the specified zone. Select the zone you wish to modify. Then enter an X and Y coordinate (corresponding to the top-left corner of the zone), as well as W and H (width and height) values for the zone.

  • Hide Zone: Hides the specified zone from view.

  • Show Zone: Shows the specified zone if it is hidden.

  • Pause Zone Playback: Pauses video play in the specified zones

  • Resume Zone Playback: Resumes video play in the specified zones

  • Generate Session GUID: Lets users generate a GUID for a session. Once the session GUID is generated, it will be assigned to the system variable “Session GUID“. If the session GUID is set, then it will be included in the presentation event log.

  • Clear Session GUID: Lets users clear the GUID from a session

The Hide Zone and Show Zone commands do not affect Audio Only, Enhanced Audio, or Background Image zones.

Reboot Example

To reboot a player on a local network via UDP command, using the Reboot command, add an Event Handler that responds to a UDP message in the presentation(s) scheduled on the player. This allows the BrightSign app or any app capable of sending UDP messages to reboot the player. This method can be adapted for other trigger mechanisms such as Serial Input or GPIO Input, but this article centers around UDP as it doesn't require additional wiring or cables. 

  1. In an interactive playlist, drag and drop the Event Handler state into the interactive zone from the Widgets section

  2. Select the UDP event from Events. 

  3. Add a UDP event to the Event Handler state. 

  4. Select the UDP event and find Event Properties.

  5. In the Specify UDP Input field enter a string that will trigger the reboot. Be sure the string you use in the Specify UDP Input field is unique enough so that it won't be triggered by random UDP traffic on your network. Note that Label is used in the BrightSign app to identify the command, and by other apps that query the player for available events. 

  6. Select the Advanced button in Event Properties and select Add Command.

  7. Select Other and Reboot as shown in the image below

  8. Save, Upload (if necessary), and Publish the presentation. 

Screenshot__94_.png

If you have multiple players on the same network subnet and they are all listening on the same UDP port, you can send a UDP message to the subnet's broadcast address, for example, 192.168.1.255 for everything on 192.168.1.x, and all the players that are listening for that command will respond.