logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
JantsoP  
#1 Posted : Tuesday, December 28, 2021 12:45:39 AM(UTC)
JantsoP

Rank: Newbie

Groups: Registered
Joined: 12/28/2021(UTC)
Posts: 1
Finland
Location: Rovaniemi

Thanks: 1 times
Hello.

First time poster, fairly new to vMix ecosystem.

I was messing around with the Countdown feature and I came across some what oddly looking bug.

You cannot set more than 24h for the countdown (should be able to, please vMix devs? unless I am missing something) ok sure.
BUT if you send API call to add MORE than vMix can show, it will hang on 23:59:59 for the set amount of time.

So if you do like
Code:
curl http://127.0.0.1:8088/api/?Function=AdjustCountdown&Input=CountdownTimer&Value=3600

multiple times, you will hit the magic number 23:59:59 and UI will hang there. But in reality, the numbers do get added to timer and it will countdown in the background.
Once it comes back to 23:59:59, it will start working again (or if you set Current Time to like 10:00:00).

This could be fixed by adding new display format DD:HH:mm:ss?

So in case it goes over 24 hours, it will show as 1:00:59:59. Or something along those lines?

EDIT: Version 24.0.0.72 so latest what you could possibly get.
admin  
#2 Posted : Tuesday, December 28, 2021 1:21:45 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,208
Man
Location: Gold Coast, Australia

Was thanked: 4288 time(s) in 1520 post(s)
Countdown is designed for short durations, a few hours at most.
You will need to look for an alternate solution, such a building your own app to set the text via the API.
thanks 1 user thanked admin for this useful post.
doggy on 12/28/2021(UTC)
doggy  
#3 Posted : Tuesday, December 28, 2021 2:00:05 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,217
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Can always use date/time functions in scripting , even using vb.net stopwatch is an option
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.