Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

Winamp Elapsed Time display

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
fatboy11
Posts: 12
Joined: June 21st, 2006, 6:37 pm

Winamp Elapsed Time display

Post by fatboy11 »

lcd smartie is great and does everything that i want it to, execpt one minor thing.
is there any way to make it always display winamp elapsed time in the format like 0:00 all the time. when there is less than a miniute played it will just display the seconds.
does anyone know of a way to always display miniutes and seconds even if there is under one miniute of the track played ?
i have made a nice set of screens on my experemental 2x16 LCD and this is the only minor annoyance. even got it to allow the internal plugins in Mediaportal to take control without closing LCD Smartie and a loading message while mediaportal starts :lol:.
if anyone could help me with this minor annoyance i would appreaciate it.
Thanks in advance.
mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

There is a way to do this, although it's not as easy as it should be. It would be nice if the Winamp elapsed/remaining times were always displayed in the 0:00 format by default (it does look a bit silly with just "4" as the time when playback is at 4 seconds). The same goes for time remaining.

This thread describes how to format the time using the "regexp" plugin.

The code for time elapsed would be

Code: Select all

$dll(regexp,3,0:(\d*):#\1:#:(\d)#:0\1#0(\d\d)#\1,0:$WinampPosh)
You must download and install (just copy the DLL to Smartie's plugins folder) the RegExp plugin from the thread above.

As far as I know, there isn't a better way to do it...

Matt.
fatboy11
Posts: 12
Joined: June 21st, 2006, 6:37 pm

Post by fatboy11 »

thats worked a treat, thanks.
Now with my last annoyance gone i can enjoy my lcd :lol:
Post Reply