Page 1 of 1

API Request to Open and Connect Files

Posted: Fri Mar 14, 2025 22:23
by ScottCoumbe
Hello.
I am using the API to open files by their file names, and then connect the files.
I can Open the File, and then Connect by doing the following:
Send - 'http://192.168.128.232:8080/api/v1/comp ... ips/1/open'
wait for the OK,
Send - 'http://192.168.128.232:8080/api/v1/comp ... /1/connect'

And this works the first time. The issue I have is that if I want to change the clip file again, I send the same Open / Connect commands and only the Open Command will work. I am unable to Connect the same layer/clip twice in a row. BUT since I am replacing the File. the layer/clip does stop playing automatically. so it does require me to connect again.

This results in me being unable to use the same clip slot twice in a row.
I can manually click on the clip / layer and it will connect. but unable to do it via the API.

Thank you
-Scott

Re: API Request to Open and Connect Files

Posted: Fri Mar 14, 2025 22:32
by ScottCoumbe
Running the Clear Command does not resolve my issue either.
I tried:
Clear
Open
Connect

First time works great, second time it clears and opens, but fails to connect.

Re: API Request to Open and Connect Files

Posted: Thu Mar 27, 2025 16:12
by Zoltán
Seems to work fine for me,
Which Resolume version are you using?

Re: API Request to Open and Connect Files

Posted: Thu Mar 27, 2025 20:42
by ScottCoumbe
Version 7.22.4

I ended up ditching the API command to connect and am using ARTNET to issue my connect commands.