logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
raugert  
#1 Posted : Sunday, February 3, 2019 4:04:03 PM(UTC)
raugert

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2017(UTC)
Posts: 560
Canada
Location: Manitoba

Thanks: 107 times
Was thanked: 309 time(s) in 176 post(s)
It appears that the API "Countdown" commands aren't working with GT titles in vMIx 22. Although they still work ok with non-GT titles. Has anyone else had any issues with this.
doggy  
#2 Posted : Monday, February 4, 2019 2:05:56 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
There seem to be some issues

for example changing text with an api call of Title "Scoreboard 1- VBA.gtzip" always revert to changing the first text item (HomeTitle.Text) regardless of which specified say
http://127.0.0.1:8088/api/?Function=SetText&Input=3&SelectedName=AwayScore.Text&Value=yourtext
raugert  
#3 Posted : Monday, February 4, 2019 2:48:58 AM(UTC)
raugert

Rank: Advanced Member

Groups: Registered
Joined: 8/5/2017(UTC)
Posts: 560
Canada
Location: Manitoba

Thanks: 107 times
Was thanked: 309 time(s) in 176 post(s)
bonjour doggy,

I'm not having any issues with changing the text items as such. They seem to respond correctly. I'm using vMix Panel Builder v36 app, which I updated to comply with the new GT titles in VMix22. So far it's only an issue when sending any Countdown related commands (StartCountdown, PauseCountdown etc.) to clock items such as CLOCK.text in the "Scoreboard 1- VBA.gtzip" title.

If you are using a browser to send API commands, you need to 'URLEncode' some of the parameters like spaces. I noticed there is a space in the "Away Score.Text" item. If you use the following syntax, it should work:

http://127.0.0.1:8088/api/?Function=SetText&Input=1&SelectedName=Away%20Score.Text&Value=yourtext


Richard
doggy  
#4 Posted : Monday, February 4, 2019 2:53:06 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Originally Posted by: raugert Go to Quoted Post
bonjour doggy,

I'm not having any issues with changing the text items as such. They seem to respond correctly. I'm using vMix Panel Builder v36 app, which I updated to comply with the new GT titles in VMix22. So far it's only an issue when sending any Countdown related commands (StartCountdown, PauseCountdown etc.) to clock items such as CLOCK.text in the "Scoreboard 1- VBA.gtzip" title.

If you are using a browser to send API commands, you need to 'URLEncode' some of the parameters like spaces. I noticed there is a space in the "Away Score.Text" item. If you use the following syntax, it should work:

http://127.0.0.1:8088/api/?Function=SetText&Input=1&SelectedName=Away%20Score.Text&Value=yourtext


Richard



Thanks Richard, you just could have slapped the back of my head ;-)
Stupid me ; SelectedName when using the field name , SelectedIndex when Using the field index nr , got confused due to the schortcut edit mentioning "Title" for Selected field option ( i often check in the shortcut creation how the webAPI has to be build and use indexes rather than names )
No wonder when my custom scoring app and its settingoptions still worked correctly :-)
Users browsing this topic
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.