label.dll usage examples Thread last updated on 2003-07-10 10:32:28

Posted by member 1316 on 2003-07-08 15:31:59

Does anyone know of any themes that use label.dll to display the current winamp song, and the time remaining(or elapsed, doesn't matter)? Or could you just post relevent code here? I'm trying to modify a theme to trim it down a little. thanks.

deuce

Posted by member 562 on 2003-07-08 16:03:09 link

LabelAmpText "[WinampSong]"
LabelAmpOnMouseEnter !LabelAmpSetText "remaining time [WinampRemainTime]"
LabelAmpOnMouseLeave !LabelAmpSetText "[WinampSong]"

Posted by member 2112 on 2003-07-08 17:51:25 link

The beta version of Gamma uses label for this purpose.

Posted by member 1316 on 2003-07-09 07:59:37 link

cool, I got it working now. however, it scrolls really jerky. is this normal, or has anyone figured out a way to smooth it out? it seems to sometimes scroll fine for a couple seconds, then it'll jump back to earlier in the song name, and start scrolling through it again.

Posted by member 602 on 2003-07-09 09:44:09 link

Try using these values:
Scrollspeed 1
Scrollinterval 50
Justify Left/Center/Right (can't remember but it might have some importance I've read somewhere)


If the background has more than one color it might give some strange little jerkynes, but it's very small and virtually undetectable.

Posted by member 1783 on 2003-07-09 10:43:07 link

In Gamma the ScrollInterval is 80 and ScrollSpeed is 1 and that's quite smooth.
The manual says that Justify should be set to Left or jerkyness might occur.

Posted by member 1316 on 2003-07-09 12:03:45 link

hmm, that's the same settings I already have (scrollinterval 50 and 80 both behave the same)... well, I guess I can live with it. it's working, at least. thanks anyways guys.

Posted by member 562 on 2003-07-09 12:50:17 link

disable scrolling in winamp\options\display settings
and use label's scroll settings (something like: LabelScroll true)

Posted by member 1316 on 2003-07-10 10:32:28 link

thanks ceeslans, I'll give it a shot.