Help - Search - Members - Calendar
Full Version: columns_ui frames
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
flix
Hello, this is my first post here, actually because i didn't needed to post anything 'till now. I'm trying to work on a columns_ui (yes, i still use columns_ui) config, and found curious obstacle. I can't seem to get more than two frames in each %totaltracks% set. I like to use one at the at the top of the first track of the album, another at the bottom of the last, and one at the bottom of the forth, where the field strings of my "Album Info" column end. What happens is that every time i put one frame at the bottom of the forth track the frame at the top of the first track just vanishes; it's "transfered" to the forth track bottom. Is that the default behavior of columns_ui? If so it's ok, i can live with that, what really annoys me is the fact that i can't find nothing more specific about this.
BTW, amazing forum; if anything is proof of that it's the fact that i'm asking something only now, almost 4 months after starting use foobar.
wraithdu
It would help to post a screenshot and the relative code for that column to help troubleshooting.
Yotsuya
As wraithdu said, it would be helpful if you posted some screenshots and code illustrating your problem. Are you doing anything like this in your style subtab?
CODE
$ifequal(%tracknumber%,1,
$set_style(frame-top,1,$rgb(255,255,255))
,)

$ifequal(%tracknumber%,4.
$set_style(frame-bottom,1,$rgb(0,0,0))
,)

$ifequal(%tracknumber%,%totaltracks%,
$set_style(frame-bottom,1,$rgb(255,255,255))
,)
flix
Here you go
Link
So, what i want are two lines separating my albums, one on the bottom of the last of the previous album, and one at the top of the first of the actual album; and i want one more frame right there on the bottom of the forth line to separate the album info from the "void", or maybe two of them, one at the top of the fifth and one at the bottom of the forth track of the album
I didn't post any screens before because i thought that my doubt wasn't that hard to picture, guess i was wrong dry.gif
My code is pretty similar to what Yotsuya posted, just in a different order:
CODE
$set_style(frame-top,$ifequal(%tracknumber%,1,1,0),$rgb(255,255,255))

$set_style(frame-bottom,$ifequal(%tracknumber%,$meta(totaltracks),1,0),$rgb(255,255,255))

$set_style(frame-bottom,$ifequal(%tracknumber%,4,1,0),$rgb(255,255,255))

It's applied on my style tab of the "Album Info" column. Besides that, i have a code for changing the background of the track when playing and one to set the background before the forth track to another color; both of which are working perfectly and i don't think are influencing on this matter.
And please don't laugh on my config, i'm still working on it.
Hope this helps and thank you very much.
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.