Switch to the dark side!
General Discussion

General Discussion

Latest Discussion
1 month ago
3 months ago
4 months ago
More...

Post a new topic



2 LiteStep Questions.

Avatar-50x50
Xenopholis says:

Hi reader,

I've got two litestep questions.
I'll start with the easiest one, is there a plugin that'll allow me to extract all wanted info from WinAmp and display it in a xLabelText ?
xLabel it self can't get info like albumname etc.

Now, get to question two; is there any easy way to make a analoge-clock?
For now, I'm using one trough Rainmeter.
But there like 20 seconds difference between time display in xLabel and the Rainmeter clock.
That's why I would like to put it all into LiteStep.

Well, I hope someone is able to help me.

Thanks in advance, Xenopholis

02:54 pm, Wednesday, May 24, 2006 (3 years ago)
Avatar-50x50
Xenopholis says:

Got a solution for the album name.
I write a .txt file from Winamp with the info, using autorecycle to keep the label up to date.

But if someone knows how to do this by only using a LiteStep plugin and not also a Winamp plugin, please tell me.

Thanks in advance, Xenopholis

*** Sorry for bump

09:12 am (3 years ago)
Avatar-50x50
Static- says:

*NetLoadModule dynamp-0.51

Thats for winamp stuff.. Its everything you need

*NetLoadModule clockwork-0.62

Thats for analog clock...

Both a simple so you should figure it out .. any questions just ask
--------------------------------
http://static-industries.com/
--------------------------------

10:08 am (3 years ago)
Avatar-50x50
Xenopholis says:

Thnx static, but I already have dynamp-0.50.
I had some more Amp modules and did a quick check on them before.
Because of your post I've read the doc on dynamp again, and it's only to control winamp.
I didn't see anything on extracting the ID3 tags.
Maybe dynamp-0.51 changed and got this function, but I doubt it.
I'll look into it tomorrow morning.

And about the analog clock, I didn't know there was a module for it, thanks!
I'll check that one tomorrow aswell.

I'm sure I'll be back with some questions, so you'd wish you never said the last sentence ^,~
They'll popup tomorrow or the day after.

Thanks in advance, Xenopholis

02:16 pm (3 years ago)
1384

you can have your winamp label display the txt file, it will reload that every updateinterval (so you dont have to use auto recycle)

and there is a rainmeter LS module.

-------------
fractal.design, rocking panties everywhere

05:49 pm (3 years ago)
Avatar-50x50
Xenopholis says:

@fractal:
I've used rainmeter as LS module.
But this still requires extra folders/inis/etc.
That's why I searched for a real LiteStep plugin.

Also, why would an updateinterval be better?
I'm not as pro as you, but my guess is that it would need an interval of 1 second or so, to be sure the song didn't change.
And it'll still need a winamp plugin etc.

I admid not everything is possible in LiteStep, but I've seen wonderfull things done by it.
That's why I keep trying to get everything trough LiteStep itself.

Thanks in advance, Xenopholis
PS: now downloading clockwork-0.62

03:03 am (3 years ago)
1384

i meant you can set the label text as the file your exporting the amp info to, so you dont have to recycle...

(I dont know what plugin your using to export the info)

like so:
amplabeltext "[line('exportedampinfo.txt','1','999')]"
amplabelupdateinterval "1"

I was just concerned you were unnessecarily auto !recycle'ing

-------------
fractal.design, rocking panties everywhere

07:54 am (3 years ago)
Avatar-50x50
Xenopholis says:

I'm using the "Do Something Plugin V1.22".
It writes a .txt file containing the songtitle, artist and album name all on different rows.
This is included to LS using:

*watchfile $ThemeDir$winamp\info.txt !labelupdate Song
SongText "[if(winampPlaying)][line('$ThemeDir$winamp\info
.txt', '1')]<br><b>[line('$ThemeDir$winamp\info.txt', '2')]</b><br><i>[line('$ThemeDir$winamp\in
fo.txt', '3')]</i>[endIf]

I guess it could be done better?
And wouldn't this autorecycle cost lesser memmory than having an update interval?

As for clockwork, it looks nice.
It hasn't got alot funtions, but I think I would be able to convert my Rainmeter clock to it.
The reason I don't want to use rainmeter is becouse it doesn't display the same time as LS does.
there's a difference of like 30/40 seconds.
Clockwork doesn't seem to have this difference.

Thanks in advance, Xenopholis

03:02 am (3 years ago)
1384

Oh, now thats a much cooler way of doing it than I first thought you were doing :D

I am not familiar with autorecycle, I assumed it !recycle'd when the file change...

as for memory, compare:
using xLabel (which you allready have loaded for the label)
using autorecycle aswell as xlabel

so it looks like your adding a new module for no real benefit.


maybe Try this:
SongText "[if(winampPlaying)][line('$ThemeDir$winampinfo.txt', '1')][line('$ThemeDir$winampinfo.txt', '2')][line('$ThemeDir$winampinfo.txt', '3')][endIf]

so have what you update with autorecycle as the label text.
I think the default updateinterval (for all labels) is 1 second, maybe thats too slow or fast, so change that if you need to.


It looks like I was concerned about nothing :D

P.S you could ask Andymon to add more winamp info to xlabel at www.ls-universe.info ;)
-------------
fractal.design, rocking panties everywhere

05:18 am (3 years ago)
Avatar-50x50
Xenopholis says:

Thanks again Fractal!
It's very funny, you were right on xLabel, it doesn't need the recycle tool.
But now it's to fast.
When I start a song, xLabel is refreshing, but my plugin hasn't written the status to the .txt jet.
This means xLabel shows half of the "W", of the "Winamp is stopped" string my plugin writes to the file.
This means I still can't use it, as I don't like the little "flicker".
Does someone know a better plugin?

Also, for your information on the autorecycle plugin, it doesn't "!recycle", it watches a file and then updates a label.
This could be usefull for some filereading.

Now on the analog clock, I can't use clockworks for it.
For the simple reason that it won't pass clicks trough it.
As half of the clock could have windows behind it, it should be able to pass clicks.
If anyone knows an other way to run an analog clock?

For now I'll be using rainmeter.
No, this isn't a good solution, unless there's some way to let Rainmeter show the exact same time as LS does.

Thanks in Advance, Xenopholis

11:57 am (3 years ago)
Avatar-50x50
xcal says:

For your winamp thing, throw in an [else] with nothing following, and it should display nothing when winamp isn't playing. If you'd like an alternate text when winamp isn't playing, add it between [else] and [endif].

"[if(winampPlaying)][line('$ThemeDir$winampinfo.txt', '1')][line('$ThemeDir$winampinfo.txt', '2')][line('$ThemeDir$winampinfo.txt', '3')][else][endIf]"

12:22 pm (3 years ago)
Avatar-50x50
Xenopholis says:

xcal, the else isn't needed, it works like it is.
But the plugin writes a line "Winamp Stopped" to the file.
And when I play a song in winamp, xLabel notices it and displays the file content.
But the winamp plugin isn't as fast as xLabel.
So he hasn't written the new information to the file yet.
This means I need to use the autorecycle or need to find a new winamp plugin if I don't want the flicker.

And the else isn't needed btw...

Thanks in advance, Xenopholis

12:40 pm (3 years ago)
Avatar-50x50
Xenopholis says:

* argh, I typed the "else isn't needed" twice.
sorry...
we need an edit button >,

12:41 pm (3 years ago)
Avatar-50x50
xcal says:

The purpose of the [else] was for giving xlabel an alternate text to display [if(winampPlaying)] == false. Meaning, it would display something other than the text from the file when winamp was stopped. So the else was needed for what I was suggesting to try. If what I suggested doesn't work, that means the label isn't processing the winampPlaying fast enough.

01:13 pm (3 years ago)
Avatar-50x50
xcal says:

er... nevermind that. Ya, an edit would be nice. Ya, I can see why the else would be unnecessary.

01:29 pm (3 years ago)
Avatar-50x50
xcal says:

Ok, here we go... you said it's only part of a "W" showing? I'm assuming this "W" only exists on line 1? If so, try this:


line1 "[remove(line('$ThemeDir$winampinfo.txt', '1'), 'W')]"
line2 "[line('$ThemeDir$winampinfo.txt', '2')]"
line3 "[line('$ThemeDir$winampinfo.txt', '3')]"

YourLabelText "$line1$ $line2$ $line3$"

I separated the lines out of the text string to make it easier to read (easier for me :) ).

02:26 pm (3 years ago)
Avatar-50x50
xcal says:

Oh... and don't play any songs that start with a "W"

:D

02:28 pm (3 years ago)
Avatar-50x50
Xenopholis says:

Thanks xcal.
But, as I'm also making this style to share it, it's hard to say "you can't listen music that starts with a W"...
Itn't there some way to detect strings?
As line1 contains "Winamp Stopped!"...
Your ID with setting variables is a good idea as well, but will they update?

Thanks in Advance, Xenopholis

08:12 am (3 years ago)
Avatar-50x50
xcal says:

Try changing the 'W' in the line1 variable to 'Winamp' and see if that works - that would/should solve the 'W' problem. I just had only 'W' because I ran in to a bug, but I am using an old version of xlabel (compatibility reasons). I actually haven't tested if the $vars$ update the same - they should - but it'd be easy enough for you to try. If they don't, you can just stick them back where they came from in the main text line.

(Btw, if you try this, you'll have to add your if(winampPlaying) stuff back in. I didn't bother for the sake of testing).

12:06 pm (3 years ago)
Avatar-50x50
Xenopholis says:

Yup, I noticed you havn't tested it yourself xcal ^,~
As it deletes all single characters, W-i-n-a-m-p.
And it doesn't even help, as deleting those letters, the next letter of the string will be shown.

As for the information to you guys, the variables do update aswell.

Thanks in Advance, Xenopholis

PS: Does someone knows how I could set the Rainmeterclock to use the same time as LiteStep?
Or know how I could set the Rainmeter timer to a different timezone?
The LiteStep time could be shown in different time zones (you all know how [time] works), and I really need 2 clocks ^,^

01:14 pm (3 years ago)
Avatar-50x50
xcal says:

Ok, this works. I actually tested this out:


line1 "[trim(line('$ThemeDir$winampinfo.txt', '1'), 'Winamp is stopped')]"
line2 "[line('$ThemeDir$winampinfo.txt', '2')]"
line3 "[line('$ThemeDir$winampinfo.txt', '3')]"

YourLabelText "[if(winampPlaying)]$line1$ $line2$ $line3$[endif]"

02:26 pm (3 years ago)
Avatar-50x50
Xenopholis says:

Yes it works, but for some reason it multiplies startup time?
Did you had this aswell?

Thanks in Advance, Xenopholis

09:23 am (3 years ago)
Avatar-50x50
xcal says:

Can't say that I noticed any difference, but I tested it inside one of my heavily scripted themes, so startup/recycling isn't super fast to begin with.

12:59 pm (3 years ago)
Avatar-50x50
Xenopholis says:

Maybe it was just me then.
Well, atleast I got the song display working now.
I guess I'll need to find help on the analog clock somewere else...

Thanks in Advance, Xenopholis

09:41 am (3 years ago)
 
   Arrow_up_small Top

Reply to this topic

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