Page 1 of 1

REST API: Is it possible to NOT select newley opened clip?

Posted: Sat Aug 24, 2024 23:39
by mogpt
Using the REST API endpoint at

Code: Select all

/composition/layers/{layer-index}/clips/{clip-index}/open 
is it possible to instruct Resolume to NOT select the newly opened clip? Either through the API or through Resolume's settings?

Thank you for any assistance.

Re: REST API: Is it possible to NOT select newley opened clip?

Posted: Mon Aug 26, 2024 14:17
by Zoltán
Open action selects clips because you probably want to tweak those clips after importing.

How does selecting the clip on load disturb your workflow?

Re: REST API: Is it possible to NOT select newley opened clip?

Posted: Tue Aug 27, 2024 23:02
by mogpt
I'm creating a small program to let a writer collaborate with a VJ using Resolume.

The program runs on the writer's laptop where they enter text. The text is sent over the network via the REST API to the host's machine running Resolume where text block clips are created and populated into a specified layer (the clips are added sequentially, column 1, 2, 3 etc.). The idea is that these text blocks are created in the composition and then the VJ can queue them at their discretion.

This works great but the problem we're running into is that if the VJ using Resolume is modifying another clip when the writer creates a text block, it will change the properties panel to focus on the newly created clip and get in their way.

Re: REST API: Is it possible to NOT select newley opened clip?

Posted: Tue Aug 27, 2024 23:06
by mogpt
Futher context:

I'm achieving this currently by sending two API requests:

one POST to /composition/layers/{layer-index}/clips/{clip-index}/open to create the text block, and then a PUT to /composition/layers/{layerIndex}/clips/{clipIndex} to populate the text body.

This was the best way I found so far to create these text blocks.