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

Variable Time Remaining in long format and freeze output #14

Open
Don-Duckworth opened this issue Nov 7, 2023 · 5 comments
Open

Variable Time Remaining in long format and freeze output #14

Don-Duckworth opened this issue Nov 7, 2023 · 5 comments

Comments

@Don-Duckworth
Copy link

Hello,

I'm using Millumin 4.16.g, 3 macs on a closed network, Streamdeck 6.4.1 (19697), and Companion 3.1.2 (3.1.2+6243-stable-05c37a10).

The variable (timeLayerRemainingTime) is in a long format. For example 43.13213348388672. All the time variables are like this.

Is this normal? Is there a way to just get the seconds?

Also, I cant seem to find the Freeze Output command anywhere in OSC or builtin Companion commands. Is there one? If not could it be added?

Thank you

@Jortsathan
Copy link

Jortsathan commented Nov 13, 2023

This is normal and was confirmed by Philippe. I have been using a work around which looks like substr(secondsToTimestamp(round($(millumin:timeLayerRemainingTime))),3,8) this rounds the seconds to a whole number, converts the seconds to HH:MM:SS, and then uses substr to remove the HH from the timestamp.

As for the freeze output, are you looking for a pause function?

@Don-Duckworth
Copy link
Author

Thank you for the work around!!! It works great!!!

For the freeze output, not a pause, but under the "OUTPUT" menu there is a "FREEZE OUTPUTS" and with it turned on, I can jump around in the program and not effect the output screens. So I don't accidentally click on the wrong thing. If it was added as an action to the companion plugin then it would be easy to freeze and unfreeze on streamdeck.

Thank you again!!!

@Jortsathan
Copy link

You bet! You can also check the OSC documentation, maybe it will have a solution that works for you, but I browsed and I don't see functionality for the freeze output just yet.

@MichaelEdwards83
Copy link

substr(secondsToTimestamp(round($(millumin:timeLayerRemainingTime))),3,8)

@Jortsathan What would this look like as the button name? I see what its doing, just not sure how to get it to work as a button.

@MichaelEdwards83
Copy link

Thank you for the work around!!! It works great!!!

For the freeze output, not a pause, but under the "OUTPUT" menu there is a "FREEZE OUTPUTS" and with it turned on, I can jump around in the program and not effect the output screens. So I don't accidentally click on the wrong thing. If it was added as an action to the companion plugin then it would be easy to freeze and unfreeze on streamdeck.

Thank you again!!!

@Don-Duckworth How did you implement this to show on a button?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants