Switch to the dark side!
Litestep

Litestep

Latest Discussion
3 weeks ago
2 months ago
3 months ago
4 months ago
More...

Post a new topic



Add Winamp info to SimpleDark?

Avatar-50x50
Lautsprecher says:

I'm new to LS and have started doing simple mods to Simple Dark. One thing that makes me feel like I've never used a computer is that i have no freekin' clue as to how i add some simple winamp-info(Title - Artist elapsed/remaining) to the taskbar next to the hidden tray. I've put Jamptoo 1.4 in the modules-dir, but i don't know what to do from here.

04:04 pm, Tuesday, July 24, 2007 (2 years ago)
Avatar-50x50
Lautsprecher says:

Anyone?

10:53 am (2 years ago)
1963
StigF says:

I do not know that plugin, but if you read the readme for the plugin, there is a lot of useful stuff.
So I guess you have to set the position of the info, and the code that shows the info.
Sorry I can't really help.

02:07 pm (2 years ago)
2650
rubenbak says:

you need a module like geekamp so put
"*NetLoadModule geekamp-2.0" in your theme.rc

then you need a label to display the info... so:

*label ampSong

then give it some properties like position.. size etc:

ampSongX 10
ampSongY 10
ampSongWidth 200
ampSongHeight 15

Now configure the font, but this isnt so important:

ampSongFont "Calibri"
ampSongFontHeight 15
ampSongFontSmoothing false

Now put the song info into it:

ampSongText [winampSong]


voila.

you can even put stuff like [winampTime], [winampStatus] etc etc.. read geekamp's readme. enjoy

10:06 am (2 years ago)
2125
SunMoonStar says:

you can also use xlabel and xstatsgraph

*NetloadModule xlabel-4.1
*NetloadModule statsclass-1.0

after it installs go in your litestepdir/modules/docs and read the xlabel readme, take a look at the xstatsgraph section from some code to display winamp info. it can also display time, cpu, file contents, etc

01:09 pm (2 years ago)
2650
rubenbak says:

hey that just shows you learn something new every day im gonna go try the statsclass now.. im working on making my own theme il upload it one of these days.. brace yourselves..

the problem with putting winamp info on a xlabel is that you cant move a group of labels as far as i know.. without doing OverlayLabel.. but thats another story :) and it has its limitations on which !bangs you can use

read up about OverlayLabel on google its useful

10:23 am (2 years ago)
Avatar-50x50
Lautsprecher says:

With Geekamp, is it posible to make the songname scroll if it's longer than the Label?

09:13 am (2 years ago)
4388
Thomax says:

PM, Lautsprecher

09:35 am (2 years ago)
Avatar-50x50
Lautsprecher says:

After getting Thomax's "stuff" that he sent me to work I'm wondering how to put an image on both sides of it. I'm basing my LS on SMPLDRK, so i need to be able to have rounded corners without them being stretched.

Here's what I've got so far:

*Label amp

ampX 5
ampY 5
ampWidth 150
ampAutoWidthMode "left"
ampAutoAnimation 40 10
ampAutoMinWidth 150
ampHeight 26
ampWindowzOrder
ampAlphaMap
ampCustomAlphaFade 40 0
ampNoMoveCursor
ampMoveModifierKey ".none"
ampPaintingMode ".image"
ampImage ampSong.png
ampImageEdges 5 5 22 8
ampText "[IF(winampPlaying)][winampArtist('')] - [winampTitle('')][ELSE][][ENDIF]"
ampFont "HaxrCorp 4088 caps"
ampFontHeight 10
ampFontColor 095095095
ampFontAlign "center"
ampFontVertAlign "top"
ampFontBorders 6 6 3 6
*ampOverlayLabel 6 -22 25 20 "prev" #s
*ampOverlayLabel 38 -22 25 20 "play" #s
*ampOverlayLabel 70 -22 30 20 "pause" #s
*ampOverlayLabel 114 -22 25 20 "next" #s
ampOnMiddleClick !none
ampOnRightClick !none

prevText "prev"
prevFont "HaxrCorp 4088 caps"
prevFontHeight 10
prevFontColor 095095095
prevHoverFontColor 095095095
prevFontAlign "left"
prevFontVertAlign "bottom"
prevOnLeftClick !Amp_Prev

playText "play"
playFont "HaxrCorp 4088 caps"
playFontHeight 10
playFontColor 095095095
playHoverFontColor 095095095
playFontAlign "left"
playFontVertAlign "bottom"
playOnLeftClick !Amp_Play

pauseText "pause"
pauseFont "HaxrCorp 4088 caps"
pauseFontHeight 10
pauseFontColor 095095095
pauseHoverFontColor 095095095
pauseFontAlign "left"
pauseFontVertAlign "bottom"
pauseOnLeftClick !Amp_Pause

nextText "next"
nextFont "HaxrCorp 4088 caps"
nextFontHeight 10
nextFontColor 095095095
nextHoverFontColor 095095095
nextFontAlign "left"
nextFontVertAlign "bottom"
nextOnLeftClick !Amp_Next

01:38 pm (2 years ago)
4388
Thomax says:

couldn't you just make a new image and replace it with the one you are using now?

01:43 pm (2 years ago)
Avatar-50x50
Lautsprecher says:

No, then the sides would stretch, making the cornes blurry.
And, how come i have to recycle the config to make the song-title update?

01:55 pm (2 years ago)
4388
Thomax says:

i don't have to recycle to make the song title update...

02:07 pm (2 years ago)
2125
SunMoonStar says:

use an overlaylabel and apply an image to it and give it imageEdges....

02:27 pm (2 years ago)
Avatar-50x50
Lautsprecher says:

SunMoonStar:
Could you explain that? Change Label to Overlaylabel, then...?

04:07 pm (2 years ago)
2125
SunMoonStar says:

*ampOverlayLabel -5 0 5 100% "whatever" #a
whateverPaintingmode ".image"
whateverImage "myOverlayImage.png"
whateverImageEdges 1 1 0 0

(im making the numbers up, its just after the first line, the 'whatever' is your new prefix and you treat it like a normal label

01:50 am (2 years ago)
Avatar-50x50
Lautsprecher says:

Now the dang thing disappeared all together :(

*ampOverlayLabel -5 0 5 100% "amp" #a
ampPaintingmode ".image"
ampImage "ampSong.png"
ampImageEdges 1 1 0 0

ampX 5
ampY 5
ampWidth 150
ampAutoWidthMode "left"
ampAutoAnimation 40 10
ampAutoMinWidth 150
ampHeight 26
ampWindowzOrder
ampAlphaMap
ampCustomAlphaFade 40 0
ampNoMoveCursor
ampMoveModifierKey ".none"
ampText "[IF(winampPlaying)][winampArtist('')] - [winampTitle('')][ELSE][][ENDIF]"
ampFont "HaxrCorp 4088 caps"
ampFontHeight 10
ampFontColor 095095095
ampFontAlign "center"
ampFontVertAlign "top"
ampFontBorders 6 6 3 6
*ampOverlayLabel 6 -22 25 20 "prev" #s
*ampOverlayLabel 38 -22 25 20 "play" #s
*ampOverlayLabel 70 -22 30 20 "pause" #s
*ampOverlayLabel 114 -22 25 20 "next" #s
ampOnMiddleClick !none
ampOnRightClick !none

prevText "prev"
prevFont "HaxrCorp 4088 caps"
prevFontHeight 10
prevFontColor 095095095
prevHoverFontColor 095095095
prevFontAlign "left"
prevFontVertAlign "bottom"
prevOnLeftClick !Amp_Prev

playText "play"
playFont "HaxrCorp 4088 caps"
playFontHeight 10
playFontColor 095095095
playHoverFontColor 095095095
playFontAlign "left"
playFontVertAlign "bottom"
playOnLeftClick !Amp_Play

pauseText "pause"
pauseFont "HaxrCorp 4088 caps"
pauseFontHeight 10
pauseFontColor 095095095
pauseHoverFontColor 095095095
pauseFontAlign "left"
pauseFontVertAlign "bottom"
pauseOnLeftClick !Amp_Pause

nextText "next"
nextFont "HaxrCorp 4088 caps"
nextFontHeight 10
nextFontColor 095095095
nextHoverFontColor 095095095
nextFontAlign "left"
nextFontVertAlign "bottom"
nextOnLeftClick !Amp_Next

06:09 am (2 years ago)
2125
SunMoonStar says:

you cant have the same name for your parent label and your overlaylabel

*ampOverlayLabel -5 0 5 100% "anynamethatisnotampsothatlitestepdoesntgetconfusedandeatyou
rbabies" #a

i would choose something shorter though.
and then change all the prefixes after that, from amp to your new correct prefix "ampOverlay Paintingmode .image" etc

01:10 pm (2 years ago)
Avatar-50x50
Lautsprecher says:

Now, how do i "format" the image i want overlay'd?
Since it dynamically changes width to fit the 'amptext' is there anything special i have to consider?

Also, i have to recycle LS to get the songname when i change songs. Why?

03:05 pm (2 years ago)
Avatar-50x50
Lautsprecher says:

http://img139.imageshack.us/img139/1341/93730274wp8.png
That's my Rocketdock, in case you were wordering.

03:15 pm (2 years ago)
2125
SunMoonStar says:

the overlay only changes width if you set a percent or something relative in the width attribute of the line in which you are creating the overlaylabel (thats the line with the asterik),the way you have it set above, its width is fixed at 5, which you may or may not want. just read the docs...............

your songname should be automatically updating, do you have xstatsclass loaded

03:40 pm (2 years ago)
Avatar-50x50
Lautsprecher says:

*NetLoadModule xstatsclass-1.0
Made no difference.

I change:
*ampOverlayLabel -5 0 5 100% "whatever" #a
To something like:
*ampOverlayLabel -5 0 whateverwidth $ampwidthX-3$ 100% "whatever" #a
???
"Just read the docs" That's easy for you to say. I don't have the slightest idea what I'm looking for.

For every second I'm doing this i want more and more to go back to Explorer and Samurize where things just WORKED!

04:07 pm (2 years ago)
2125
SunMoonStar says:

you have too many arguments
-5 0 whateverwidth $ampwidthx-3$ 100% is 5 arguments
you need 4

*labelnameOverlayLabel x y width height "overlayname" #a

when you code, you have to be precise, and getting frustrated doesn't help. If that's your attitude, probably Litestep isnt for you..

01:15 am (2 years ago)
 
   Arrow_up_small Top

Reply to this topic

You must register and become a member to post a reply.