vMix Forums
»
General
»
GT
»
Ticker items separator
Rank: Newbie
Groups: Registered
Joined: 10/2/2019(UTC) Posts: 7 Thanks: 1 times
|
Hi!
I'm trying to create a ticker that reads from an JSON api endpoint, that looks somethings like this:
Text 1 • Text 2 • Text 2 is very loooooooooong • Etc ..
This is read from an api that looks similar to this:
[ { "body": "Text 1" }, { "body": "Text 2" }, { "body": "Text 2 is very loooooooooong" }, { "body": "Etc .." } ]
I almost created it with the GT editor, with "Add" ticker instead of "Replace". But is there a way to add a separator between the items?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
just add a seperator character to your format setting of the datasource in your title(ticker)
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/2/2019(UTC) Posts: 7 Thanks: 1 times
|
Originally Posted by: doggy just add a seperator character to your format setting of the datasource in your title(ticker)
That would add it to the last item as well, right? Like this Text 1 • Text 2 •
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
yes as in how would it know its the last one anyway unless you drive the data with and external app or a script
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/2/2019(UTC) Posts: 7 Thanks: 1 times
|
Originally Posted by: doggy yes as in how would it know its the last one anyway unless you drive the data with and external app or a script
I'm not entirely sure what you mean. The list definitely is finite.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
What i say is , unless you manipulate your data sending differently to the title ( external app or script) you have basically an infinite list (no indication of end of list to make a decision) and are stuck to the basic addition of a separator or other text before/after each item with scripts or apps your data manipulation before displaying is infinite :-)
|
|
|
|
vMix Forums
»
General
»
GT
»
Ticker items separator
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close