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
madness  
#1 Posted : Wednesday, March 19, 2014 10:07:26 PM(UTC)
madness

Rank: Advanced Member

Groups: Registered
Joined: 4/16/2013(UTC)
Posts: 406
Man
Location: Iowa

Thanks: 281 times
Was thanked: 32 time(s) in 29 post(s)
I tried substituting the input name instead of the input number in the web api and it worked sporadically. Sometimes it would work and others it would not.

Is it supposed to work with the name given to the input?

I've also used Preview as the input, and it worked about as often. Active work less often. I renamed my audio input to Alesis, and it wouldn't work at all. It would only work when the input was = 1.

If this is intended operation, then perhaps a bug? If not, it must be a fluke that it worked at all.

I don't recall reading anywhere that you could use a name, but just thought I'd give it a try.
admin  
#2 Posted : Wednesday, March 19, 2014 11:47:02 PM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,207
Man
Location: Gold Coast, Australia

Was thanked: 4285 time(s) in 1519 post(s)
If the input number cannot be found or is blank it will default to Preview which is probably what you were seeing.
Only input numbers or the key (GUID) can be used to select an input, the unique key can be found from the API XML page.

http://localhost:8088/API/

The help file contains some more detailed information:

http://www.vmix.com.au/help12/DeveloperAPI.html

Regards,

Martin
vMix
thanks 1 user thanked admin for this useful post.
madness on 3/20/2014(UTC)
madness  
#3 Posted : Thursday, March 20, 2014 6:15:15 PM(UTC)
madness

Rank: Advanced Member

Groups: Registered
Joined: 4/16/2013(UTC)
Posts: 406
Man
Location: Iowa

Thanks: 281 times
Was thanked: 32 time(s) in 29 post(s)
Great & thanks! I will look into that.

My concern is if I move an input that my api references would no longer be valid.

I would like to formally request using the input name though for better identification. Input placement would no longer be a factor, and it would be much more descriptive in the app send the functions. Just spelling. ;)
not to mention this GUID number is harder to locate, and much less descriptive.

When reviewing an external playlist, it may be more naturally read, and understood, than it would be with numbered inputs, or cryptic GUID information.

Thanks for listening, your excellent support, and last, but not least, vMix!
Users browsing this topic
Guest (2)
Similar Topics
Script API question (General Discussion)
by fgolman 2/10/2024 6:28:14 AM(UTC)
API question (3rd Party Software and Development)
by tony marone 8/31/2015 1:06:44 PM(UTC)
APi Question (General Discussion)
by Henny 3/4/2014 7:16:38 AM(UTC)
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.