Time Remaining for any/all Layers?
Hi all, I'm digging into my custom Companion set-up and I'm hitting a little wall. I have my buttons (one for minutes, one for seconds) displaying the media remaining time great, but is it possible to not hard-code the layer I'm reading from? Through a search, I found Philippe had mentioned being able to get time remaining by "Enabling tracking of multiple layers" and the attached image looked like a screenshot from Companion, but I can't seem to find it anywhere. I'd like it to be flexible and have my buttons display the remaining time from any layer, really just from the media that's playing, no matter what layer. I typically do not have multiple videos playing simultaneously, but the videos are not always on one specific layer because of different display layouts/positions on a show. I'd imagine if I ever ran into a situation where I had multiple playing, I could just write some logic in Companion to only return the longest media's remaining for display. Thanks!

Comments
Hello @ChrisWyso,
To my knowledge, there is no such feature in the Companion module for Millumin : you can track time for multiple layers, but not of the longest one.
However, you have a script that does so in Millumin : TimeCounter. More information about scripts in this article.
Best. Philippe
Thank you for your reply, Philippe! As it turns out, I was having trouble locating where in Companion that panel was to track time from multiple layers, but I found it in the "Edit Connection" panel. Once I did that, I realized that it created a whole new set of variables for me, and I can see them for each layer I entered. As far as tracking the longest one: I'm going to try to write an expression variable to handle parsing and returning the value for just the longest one.
I'm new to the in-depth Miilumin -> Companion programming workflow, so it's a lot of browser tabs with searchs for coding, syntax, etc.
Thank you again for your help and such a great app!
-Chris