But I have this script to update my Foobar2000 info, but it won't refresh. I call the !Reload bang so that it rereads the file I have Foobar exporting with all the evars you can squeeze out of it (check mojomonkee's site for details on how this is done). I know for a fact that these evars are being exported and being read properly by litestep because I can !Alert them and they show up properly. I also know that the !Amp_Update bang is being executed when it should be since I added that !msgbox command in there.
I just can't figure out why !LabelRefresh won't work. I tried calling it ass "!LabelRefresh AmpReadout AmpReadoutText $TITLE$" but that didn't work either.
Thread: xLabel-3.2 !LabelRefresh issues.
Sat Oct 16 2004, 12:10AM
Registered Member #22
Joined: Thu May 06 2004, 08:32AM
posts 63
Well I'm using a foobar component (module) which writes a text file. I have it exporting all the pertenant info about the currently playing song, the file is foobar.rc located in my personal dir. I include it in theme.rc, and then all the info is loaded in as evars. I call !Reload to reread this file, and then !LabelRefresh to make the Label reread the evars.
Thread: xLabel-3.2 !LabelRefresh issues.
Sat Oct 16 2004, 08:11AM
Registered Member #22
Joined: Thu May 06 2004, 08:32AM
posts 63
I don't see how that would be any different, since it would still require a !LabelRefresh. The evar works fine, the bang works fine, the bang gets executed exactly when it should. The only thing that doesn't work is the !LabelRefresh.
The label displays the song info perfectly, once. The problem is it doesn't change when the song changes.
If I recycle litestep then the label will contain the new song info, but that's hardly functional [ Edited Sat Oct 16 2004, 08:13AM ]
Thread: xLabel-3.2 !LabelRefresh issues.
Sat Oct 16 2004, 01:01PM
Registered Member #89
Joined: Sat Jul 31 2004, 07:22PM
posts 13
You tried with a *netreloadmodule for xlabel
Euh, how do you make your label know that the song has changed?
For it is there that you must tell him to re-read the evar?
Thread: xLabel-3.2 !LabelRefresh issues.
Sat Oct 16 2004, 10:54PM
Registered Member #22
Joined: Thu May 06 2004, 08:32AM
posts 63
I have a seperate label which is set to the FOOBAR2000_CLASS or whatever (I use the emulation component, so I don't have to set it to the reg-address or whatever)
Then I set that label to execute the bang to update the other label OnTextChange. I know that the bang is being executed at the right time because when I add a !msgbox line into the script then it gets executed whenever the song changes.
I know that the script works (if I throw in !msgbox lines they get executed), only thing that doesn't work is the label changing text!
This is really frustrating me now.
I'm using xLabelLight-3.2.6 (but originally encountered this problem in xLabel-3.2).
Could someone maybe just try what I'm trying to do and tell me if it works for them? That way at least I know I'm the problem [ Edited Wed Oct 20 2004, 08:46PM ]
And I tell it again: using !labelsettext mylabel "[line('file',line-begin,line-end)]" you're foobar's difficulties should go away [ Edited Wed Oct 20 2004, 09:04PM ]
Maestr0
on
07 Nov : 17:35
chatbox looks very cool, very nicely done!
GothsSecret
on
07 Nov : 15:27
ok, to all xLabel Desktop users, if you want to enable the desktop funtion, you need to set "xLabelUsexDesktop"! !! else it couldn't work. sorry for forgetting to mention it in the readme *g* next time it will be in there
Juan Guillermo
on
31 Oct : 23:46
Thanks a lot for your GREAT work guis , xmodules are transforming the Litestep shell in a much more fancy/varsatile thing.
AngelKnight
on
30 Oct : 16:44
^_^
Backslash
on
29 Oct : 00:54
>Andymon - woot!
>GothsSecret - If necessary, you could probably reduce the gaps between the center and the sides, for those with lower resolutions (not me, I'm at 1280x1024!).
Andymon
on
28 Oct : 13:02
Just wanna tell:
HighColor(16bit) is coming for all xModules in the near future, finally.