0

Sending userVariable via UDP

Is there any built in way in BrightAuthor to send the value of a userVariable via UDP?

I'm trying to send the duration of my video to a media control unit, I've already a custom plugin to get the duration and store it in a user variable. I would prefer to send the value of the variable in bright author, then sending it by the script itself.

 
 

8 comments

  • 0
    Avatar
    Lovepreet Singh Jassal

    have you tried putting $$VARIABLENAME$$ in the send command in Brightauthor?

  • 0
    Avatar
    Bright Scripters

    If your user var is named "YoUserVar"

    Simply send $$YoUserVar$$

  • 0
    Avatar
    Lukas Uebachs

    OK, I'll test it. Is that procedure documented anywhere?

    Couldn't find anything.

  • 0
    Avatar
  • 0
    Avatar
    Timo von Langsdorff

    This feature is broken on BA connected and BrightSign OS Version 8.5.47.

    I have a variable with the name midi and when I send the UDP command with the parameter $$midi$$_test I get "$$midi$$_test" on the network. With BrightAuthor 5.0 and Firmware Version 6.2.45 (sorry that is my old test player) no problem. I get 48,48,48_test (48,48,48 is my variable content) on the network.

  • 0
    Avatar
    Fatih Turhan

    The feature had a slight change between BrightAuthor and BrightAuthor:connected. Instead of the dollar signs, you need to use opening and closing double curly brackets now.

    https://brightsign.atlassian.net/wiki/spaces/DOC/pages/388432939/Conditional+Targets+and+Commands

  • 0
    Avatar
    Shaun

    Stumbled across this while trying to get the same thing to work and {{variable}} doesn't actually seem to work anywhere in the system if using BA:Connected.

    Dredged up an old BA presentation where we had the variable set the udp command to listen to and then we had a single trigger pointing at a playfile instance so you could effectively publish once and the the RSS feed dynamically update content and that works on old hw and fw. Anyone actually gotten this working with the latest BA:C before I drop a line to support.. I'm running 9.120 if it matters.

  • 0
    Avatar
    Bright Scripters

    That's very surprising. Would it be possible for you to share a link a bpfx file you are testing with?

Please sign in to leave a comment.