API Request to Open and Connect Files

Post your questions here and we'll all try to help.
Post Reply
ScottCoumbe
Posts: 5
Joined: Mon Mar 03, 2025 16:42

API Request to Open and Connect Files

Post 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

ScottCoumbe
Posts: 5
Joined: Mon Mar 03, 2025 16:42

Re: API Request to Open and Connect Files

Post 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.

Zoltán
Team Resolume
Posts: 7483
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: API Request to Open and Connect Files

Post by Zoltán »

Seems to work fine for me,
Which Resolume version are you using?
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

ScottCoumbe
Posts: 5
Joined: Mon Mar 03, 2025 16:42

Re: API Request to Open and Connect Files

Post by ScottCoumbe »

Version 7.22.4

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

Post Reply