We all use Winamp players with timers counting up.
I would like to have a counter going down to zero.
So I can easely see how long the song last,
instead of calculating in my head how long the song remains
Is there anybody who can change the formulas for this :
It is currently April 23rd, 2024, 5:29 am
Winamp Countdown Timer
-
- Posts: 73
- Joined: September 5th, 2009, 11:38 am
- Location: Belgium
Re: Winamp Countdown Timer
Ya know I am not absolutely certain, but I think this is an interface option that can be retrieved like the time that counts up, just need to remember what is the command for count down .
I believe that I have come across a couple of skins that have both time available. |
-
- Posts: 73
- Joined: September 5th, 2009, 11:38 am
- Location: Belgium
Re: Winamp Countdown Timer
I doubt that its something that can be retrieved.
As for the normal counter, they need a serious set of formulas
the formulas below comes from the SuperCollosal skin (I love that skin)
wish I had the formulas for the countdown
As for the normal counter, they need a serious set of formulas
the formulas below comes from the SuperCollosal skin (I love that skin)
Code: Select all
[CURR]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105
[CURR_M]
Measure=Calc
Formula=((CURR/1000+0.5)-((CURR/1000+0.5)%60))/60
[CURR_S]
Measure=Calc
Formula=((CURR/1000)%60)/10>=5.95?0:((CURR/1000)%60)/10
Substitute=".":"","-":""
[DURATION]
Measure=Calc
Formula=(CURR<=0)?0:(CURR/(FULL*1000+1))
Re: Winamp Countdown Timer
I will do some home work :geek:
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: Winamp Countdown Timer
Just make a calculation of the full time of the track minus how long it has gone?
So if the song is 4:46 and it's been playing for 2:34 then just take 4:46-2:34
Ofcourse you have to use the original values that are retrived from the measures and then do redo them to min:sec.
I haven't tried it. But I think it should work. Don't really see why it shouldn't.
So if the song is 4:46 and it's been playing for 2:34 then just take 4:46-2:34
Ofcourse you have to use the original values that are retrived from the measures and then do redo them to min:sec.
Code: Select all
[MeasureTotalLength]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 1 105
[MeasureTime]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=Winamp v1.x
WindowMessage=1024 0 105
[MeasureTimeLeft]
Measure=Calc
Formula="(MeasureTotalLength)-(MeasureTime)"
[MeasureTimeLeftMin]
Measure=Calc
Formula=((MeasureTime / 1000) - ((MeasureTime / 1000) % 60)) /60
[MeasureTimeLeftSec]
Measure=Calc
Formula=(MeasureTime / 1000) % 60 = 60 ? 0 : (MeasureTime / 1000) % 60
Substitute="010":"10"
[MeasureTimeLeftZero]
Measure=Calc
Formula=(((MeasureTime) /1000) % 60) < 9 ? 0 : 1
Substitute="1":"","9":"09"
I don't think, therefore I'm not.
-
- Posts: 73
- Joined: September 5th, 2009, 11:38 am
- Location: Belgium
Re: Winamp Countdown Timer
I have it all working thanks to Kenz0.
He made me the countdown timer for his SuperColossal skin.
Now I'm so happy like a kid on santa's day
Thanks Kenz0
He made me the countdown timer for his SuperColossal skin.
Now I'm so happy like a kid on santa's day
Wish I was that age again |
Re: Winamp Countdown Timer
Dude you are never to old :ugeek:Yelleke wrote:Now I'm so happy like a kid on santa's day
Wish I was that age again
In many ways: Santa comes to us all