Help - Search - Members - Calendar
Full Version: Problem with stringcompare.
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
Powha
Ok I have a problem.
I want the F to be visible everytime there is a new directory. I have the following code below in an coulmn. It seems that foobar resets the tk_album variable for every new media file.

The F is visible all the time...

$if($not($strcmp($get(tk_album),%_directoryname%)),
$puts(tk_album,%_directoryname%)
F
)

Some pointers would be appreciated.
Powha
Ok... I am using the foobar 0.9.1 and Columns UI 0.1.3.

Where can I find documentation. Like a reference for these?

The search in the forum is quite poor becuase every thread is staked with 100 answers. And you don't know for which version of foobar ui the thread/questions is for.

In the wiki there seems only to be for the old foobar and UI.

For example I have seen commands like $get_global and $set_style where can I read about these?

plz help me...
MJT
Try the ColumnsUI wiki, the Title Format Reference, or titleformat_help.html in your foobar installation directory.
Powha
thnx. Title format was helpful but global_variables doesn't make any sense.

hmm sad.gif
Cosmo
QUOTE(Powha @ Apr 27 2006, 08:12 AM) *
It seems that foobar resets the tk_album variable for every new media file.

AFAIK, that is the problem: you can't set or change variables globally from within a column's Display script.
Though I'd be happy to be wrong about this.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.