bitfocus / companion-module-studiocoast-vmix

Studiocoast vMix module for Bitfocus Companion
MIT License
32 stars 10 forks source link

When using vMix variables, an adjusted title text is cut off from an ampersand character onwards #235

Closed jarihakkarainen closed 7 months ago

jarihakkarainen commented 8 months ago

Describe the bug I have a GT Title that updates its values from a DataSource. I use an action in Companion to set the value of a Title layer to that of another Title layer using vMix variables. It works but if the read value includes an ampersand (&), the written value gets cut off from that character onwards.

To Reproduce Let's suppose the title "TG" has the text "H&M retail stores" in layer 7 and I want to copy that text to the title.Text layer using vMix variables.

Vmix: Title - Adjust title text

Expected behaviour title.Text should be replaced by whatever value the variable $(vmix:input_tg_layer_7_titletext) has, in this example "H&M retail stores" but instead title.Text reads just "H" after the action.

System (please complete the following information):

thedist commented 7 months ago

The Title - Adjust title text action now has a new option to Encode Value, this will encode whatever the string of text you put in the action is, so that special characters should now work with the action.