Recently I took it upon myself to fix an annoying bug that was introduced and never fixed in Winamp3 (as the title suggests), barely knowing any form of coding I went to work and spent about 2 days reimplementing essentially how Winamp Classic's song time display works, which should be 100% accurate (though there might be some bugs here and there that I haven't spotted yet).
This script does the following:
It appends a leading 0 where appropriate for both "Time remaining" and "Time elapsed", it also contains checks for streams/endless VGM playback where you won't be able to accidentally switch to "Time remaining" (internally it still does, but does not show the respective hyphen when doing so).
In cases of Winamp/WACUP accidentally managing to go beyond the song's length, the timer will still show you the proper time position for both modes, the same applies to input plugins allowing the song to play beyond the actual length (e.g. the OpenMPT plugin offering repeat modes for seamless repeating).
Don't know what I'm talking about?
Below is a screen recording of before applying the fix vs. after.
Before:
After:
While this script was written by someone who just started to get the gist of programming, there are areas of where it can be improved, but it does the job and that's all that matters for now.
I hereby invite everyone to take this script and include it in their own projects, in commercial use or not, this is for everyone to use and play with and I don't want any compensation for it.
Enjoy.
Edit: last patch version for a while (would even consider this safe to be included in WACUP)
changes v2.4:
added a menu for the timer to switch between time remaining or elapsed
re-added the progress bar glow that was accidentally deleted (specific to winamp modern)
changes v2.5 (optional update):
the timer now blinks, there are no real big changes and/or bugfixes on the surface, just a lot of under the hood things to minimize the script a bit
Screenrecording of the blinking in action: