bitfocus / companion-module-studiocoast-vmix

Studiocoast vMix module for Bitfocus Companion
MIT License
32 stars 10 forks source link

Get remaining time from feedback function isnt working anymore in 3.0 RC1 #210

Closed rfraedrich closed 1 year ago

rfraedrich commented 1 year ago

Describe the bug When adding the feedback function "Playback Time" to a button, nothing is displayed"

To Reproduce Steps to reproduce the behaviour:

Just add this function to any button or create a new button.

Expected behaviour It should show the remaining time of the running clip

System (please complete the following information):

thedist commented 1 year ago

This is working as intend. Companion v3 is a shift away from using feedbacks to write text on a button, and instead you should be using one of the input remaining variables, and/or Expression Functions.

Variables, where X is the the inputs name, number, or GUID. input_X_remaining - time remaining in MS input_X_remaining_ss - time remaining in Seconds input_X_remaining_ss.ms - time remaining in Seconds and input_X_remaining_mm:ss - time remaining in Minutes and Seconds input_X_remaining_mm:ss.ms - time remaining in Minutes, Seconds, and MS

Ideally please use input_X_remaining as that will return the MS, which you can then use the msToTimestamp Expression function to change it into whatever format you want and be future proof. For more information about Expression Functions please refer to the Menu at the left side of the Companion UI that has a help section on it.

rfraedrich commented 1 year ago

Thank you for this great explanation. I wasn't aware of this. I will try that on a testing instance as i could not use 3.0 RC1 in production. I figured out that there are some greater delay and CPU consumption issues with 3.0 RC1 on my production systems i need to investigate a bit deeper.