I'm trying to create a script to display a countdown to the top of the next hour, but I can't figure out how. I've been playing around with countdown and get_clock, but no dice. Does anyone have any ideas?
Posté Thu 28 Dec 23 @ 5:35 pm
3 nights before the big night, I swear I should charge like uber, XD
deck master effect_active text on & repeat_start 'rsiClock' 100ms & get_text "`countdown '2023/12/28 19:00' %full`" & param_cast & deck master effect_string text 2
deck master effect_active text on & repeat_start 'rsiClock' 100ms & get_text "`countdown '2023/12/28 19:00' %full`" & param_cast & deck master effect_string text 2
Posté Thu 28 Dec 23 @ 6:34 pm
Should the time in the string be midnight on 31st?
deck master effect_active text on & repeat_start 'rsiClock' 100ms & get_text "`countdown '2024/01/01 00:00' %full`" & param_cast & deck master effect_string text 2
There's also the full new year sample pack you can use too:
https://www.virtualdj.com/plugins/index.html?category=samples&search=year
deck master effect_active text on & repeat_start 'rsiClock' 100ms & get_text "`countdown '2024/01/01 00:00' %full`" & param_cast & deck master effect_string text 2
There's also the full new year sample pack you can use too:
https://www.virtualdj.com/plugins/index.html?category=samples&search=year
Posté Thu 28 Dec 23 @ 7:04 pm
depends on what you're counting to, it could be an hour to hour thing.
fyi for midnight nye no date/time is needed, that's the default.
fyi for midnight nye no date/time is needed, that's the default.
Posté Thu 28 Dec 23 @ 7:16 pm
No, it's not for New Year. It's for radio broadcasting so the DJ can always see how long is left until the top of the next hour.
Posté Fri 29 Dec 23 @ 10:25 am
deck master effect_active text on & repeat_start 'rsiClock' 100ms & get_text "`countdown '2026/01/01' '%MM:%SS'`" & param_cast & deck master effect_string text 2
That would be an example, on the skin you would do something a little different
I've made a skin or two specifically for radio pros [biggest is a US east coast syndicated FM program] , as well as app's [custom history files, rds output files, random jingle selection, to name a few]
That would be an example, on the skin you would do something a little different
I've made a skin or two specifically for radio pros [biggest is a US east coast syndicated FM program] , as well as app's [custom history files, rds output files, random jingle selection, to name a few]
Posté Fri 29 Dec 23 @ 5:30 pm
hat skin looks good — is it available to download? I've not seen it before.
As for the countdown, that seems to countdown to 1st January, rather than TOTH - unless I'm missing something?
As for the countdown, that seems to countdown to 1st January, rather than TOTH - unless I'm missing something?
Posté Wed 03 Jan 24 @ 12:48 pm
A private skin I was commissioned to make. It will never be released. Take it as more of an example as what can be done if you want something bespoke.
Each radio outfit has individual needs and most can be met rather than compromising with something stock. To be honest the skin was the most visible item but for this client the biggest deal was record keeping. They needed all kinds of separate histories, music histories for royalties, music histories to publish online, advert histories. Plus I had to convert a DOS based radio SW database to vdj, pulling apart 20 year old .dat files and writing a vdj xml was serious work.
[satisfying to spend weeks on it, to finish with sending an .exe they just had to double click and it converted 100,000+ records in a few seconds]
But radio is a specialism and I charge for my time making these bespoke items. There's stuff in here that even support staff would doubt possible
As for the countdown, it does count to NYD, but the date isn't really important, it's just a future date so it counts down to and not up from, the formatting of the countdown only includes minutes and seconds, so it doesn't matter when it counts to, it could be a year from now it could be 6000 days from now it doesn't matter it will always appear as a count to the hour so long as it's a future date.
It could be made to be a true count to the next hour but the script is more complicated for zero difference to the end result.
Each radio outfit has individual needs and most can be met rather than compromising with something stock. To be honest the skin was the most visible item but for this client the biggest deal was record keeping. They needed all kinds of separate histories, music histories for royalties, music histories to publish online, advert histories. Plus I had to convert a DOS based radio SW database to vdj, pulling apart 20 year old .dat files and writing a vdj xml was serious work.
[satisfying to spend weeks on it, to finish with sending an .exe they just had to double click and it converted 100,000+ records in a few seconds]
But radio is a specialism and I charge for my time making these bespoke items. There's stuff in here that even support staff would doubt possible
As for the countdown, it does count to NYD, but the date isn't really important, it's just a future date so it counts down to and not up from, the formatting of the countdown only includes minutes and seconds, so it doesn't matter when it counts to, it could be a year from now it could be 6000 days from now it doesn't matter it will always appear as a count to the hour so long as it's a future date.
It could be made to be a true count to the next hour but the script is more complicated for zero difference to the end result.
Posté Wed 03 Jan 24 @ 2:00 pm