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

Add support for variables in action/feedback inputs #960

Closed
GeoDerp opened this issue Jan 14, 2020 · 6 comments
Closed

Add support for variables in action/feedback inputs #960

GeoDerp opened this issue Jan 14, 2020 · 6 comments
Labels
Enhancement New feature or request

Comments

@GeoDerp
Copy link
Contributor

GeoDerp commented Jan 14, 2020

Describe the feature

Allow the ability to use dynamic variables in other modules.

Usecases

  • For Timers from different modules
  • For Modules that use the same (input/output) names
  • Pretty much a good method to use input data from one module to output data for another by pressing one button.

Image Example

Screen Shot 2020-01-10 at 4 25 56 pm

Example is using Qlab's Dynamic Variable (of time left in a video) to set the ProPresenter clock to the time remaining, and start it.

This is so the user doesn't have to fiddle around with the clock to get the precise time every time a Qlab video is playing (our Qlab videos all have different lengths)

@issue-label-bot issue-label-bot bot added the Enhancement New feature or request label Jan 14, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label Enhancement to this issue, with a confidence of 0.99. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@krocheck
Copy link
Member

This will have to be carefully thought through. An on-the-fly change to config isn't supported and would require an additional tracking layer and firing mechanism. Doable, but not simple.

@willosof
Copy link
Member

Yeah, this is something we need to consider for the new design. Should be fairly easy to implement as long as we make a generic variable engine that everything needs to go through. :)

@willosof
Copy link
Member

willosof commented Jan 14, 2020

If it's a numeric input, we should support math as well :) floor($(inst:var)/2)+1 etc. Also, you should have the option to resolve the expression dynamic or "right now" :)

@mcondie65
Copy link

Being able to do math's would be fantastic.
You could add a command in the advance to specific slide secion $(propresenter:total_slides)-$(propresenter:current_slide) which would allow you to skip to the next section in your ProPresnter playlist

@Julusian Julusian changed the title Add support for variables in config inputs Add support for variables in action/feedback inputs Sep 30, 2022
@Julusian
Copy link
Member

Julusian commented May 3, 2024

This needs to be done per module, and there is another task to look at supporting expressions in these fields #2345

@Julusian Julusian closed this as completed May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants