vMix Forums
»
General
»
General Discussion
»
Working with Data Sources / XML / Titles - question...
Rank: Newbie
Groups: Registered
Joined: 9/18/2019(UTC) Posts: 5 Location: Lisbona´ Thanks: 2 times
|
Hi, I ve been using VMIX for a while and using GT Title Designer and Data sources to create sport leaderboards with some sucess.
Actually I am having an issue I cant solve
1. I iam using XML files in Data source manager 2. I created a new dedicated gtzip template, with 8 lines for the results with no issues 3. In VMIX I link the title with data source with no issues
Question is: Every time a new competition begins, a new XML is generated and I need to change it in Data sources Manager. As all the XML files have the same format (columns) its a smooth process.
But XML files dont always have the same amount of lines. If I worked with an xml file with lets say 8 competitors, the title is generated with the 8 lines as result. But when I change for a new xml file with only 5 competitors (5 lines), title will change the initial 5 results (ok), but the 6th, 7th and 8th results od the previous xml file are still showing. (i want the title to fill lines 6, 7 and 8 with blanks.
Any ideas how to solve this? thanks in advance
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Nuno Hi, I ve been using VMIX for a while and using GT Title Designer and Data sources to create sport leaderboards with some sucess.
Actually I am having an issue I cant solve
1. I iam using XML files in Data source manager 2. I created a new dedicated gtzip template, with 8 lines for the results with no issues 3. In VMIX I link the title with data source with no issues
Question is: Every time a new competition begins, a new XML is generated and I need to change it in Data sources Manager. As all the XML files have the same format (columns) its a smooth process.
But XML files dont always have the same amount of lines. If I worked with an xml file with lets say 8 competitors, the title is generated with the 8 lines as result. But when I change for a new xml file with only 5 competitors (5 lines), title will change the initial 5 results (ok), but the 6th, 7th and 8th results od the previous xml file are still showing. (i want the title to fill lines 6, 7 and 8 with blanks.
Any ideas how to solve this? thanks in advance
if you have acces or control of the XML creation add Blank data rows to the XML file Other option is to clear the GT Title fields before repopulating Title fields only update when there is a change in the data
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 9/18/2019(UTC) Posts: 5 Location: Lisbona´ Thanks: 2 times
|
Hi, thanks! XML files are being given to me in the day of competition, so i cant control then or even add blank lines (i know this would solve it...)
Regarding your hint: "Other option is to clear the GT Title fields before repopulating" Is there any way of doing it quickly without having to delete the fields manually in title editor? (it could be more than 12 per line...)
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,216 Location: Belgium Thanks: 291 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: Nuno Regarding your hint: "Other option is to clear the GT Title fields before repopulating" Is there any way of doing it quickly without having to delete the fields manually in title editor? (it could be more than 12 per line...)
Having a script that writes blank data to each text field would be. The title will not loose its datasource connection (will update with data from datasource after its data has changed !) BTW. vMix scripting (vb.net) can handle reading XML files and sending its data (or blank additional data) to titles directly or write new XML files based on the imported/read XML ( for adding blank row data) etc
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Working with Data Sources / XML / Titles - question...
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