Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to add delays based on variables #2172

Closed
2 tasks done
asdsh29 opened this issue Nov 9, 2022 · 7 comments
Closed
2 tasks done

Ability to add delays based on variables #2172

asdsh29 opened this issue Nov 9, 2022 · 7 comments
Labels
area/backend Something in the core of companion area/gui GUI / Webapp related Enhancement New feature or request
Milestone

Comments

@asdsh29
Copy link

asdsh29 commented Nov 9, 2022

Is this a feature relevant to companion itself, and not a module?

  • I believe this to be a feature for companion, not a module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the feature

I think it could be helpful if there is the ability to set a variable as a delay time in between actions. Maybe also with a checkbox to ignore the delayed action if the value is 0 and/or not an integer.

Usecases

I wanted to perform an auto transition on a video mixer right after a clip on an external video player. To do this, I wanted to dynamically write the length of the clip as a variable and set this as a delay between the "play clip" action and the "auto transistion" action. I then realized that the delay value can only be set as a fixed integer and not as a variable value.
This also can be helpful for a lot other timed application like show run downs or audio fading.

A big thank you to everyone who is involved in this great project!

I hope that this idea/feature will be integrated at some point and will help with some projects!
Thanks a lot,
cheers,
Stefan

@Julusian Julusian added Enhancement New feature or request area/gui GUI / Webapp related area/backend Something in the core of companion labels Nov 11, 2022
@LukeSCC
Copy link

LukeSCC commented Mar 7, 2023

This would be a really useful feature.

@Mozoloa
Copy link

Mozoloa commented Jun 13, 2023

I like this, being able to delay an action on a dynamically set timer would be great

@tubalois
Copy link

+1 I'm also looking for a way to delay and/or delay two playbacks on different devices. this feature would be awesome

@dnmeid
Copy link
Member

dnmeid commented Nov 12, 2023

Using delays for such a task is not the best option.

  1. if your clip is quite long the times of the delay and the running time of the clip may not stay within sufficient equality
  2. if you pause, abort or shuffle your clip, eventually not from Companion, your delayed action will fire at the wrong time
  3. you always have to keep track of clip length yourself which is tedious and prone to errors

A better solution would be to use a trigger from a feedback wether a clip is playing to fire the action. Then you can do your transition when the clip stops. If you want to do a fade maybe on the last second, use a remaining time variable.
If those feedbacks or variables are not available for your device, it is better to ask for such functionality than for a variable based delay.
Despite a variable delay not being the best solution for you, it generally is not a bad idea to have variable delays as a feature.

@chjaway
Copy link

chjaway commented Mar 13, 2024

This would be a useful feature.
I have an automation that automatically switches cameras periodically (think long speeches where the tech guy is a one-man-show). It would be nice to have the ability to set up a random (min,max) delay between switching cameras so it's a little more dynamic than "exactly 25 seconds" all the time or whatever.

@albertorighetto
Copy link
Contributor

This would be really useful.
I'm currently on a show where 144 buttons have the same hard-coded delay.
I wish I could have used a custom variable if something needs to change later.

@Julusian
Copy link
Member

This is possible in the betas as part of #3163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend Something in the core of companion area/gui GUI / Webapp related Enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

8 participants