Help - Search - Members - Calendar
Full Version: Columns UI: Capitalising the song being played
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
User 007
Hi!

I have seen settings that the information of the song being played is capitalised in the playlist. I am using columns UI. How to do that? I just want to change this for the song which is played.

Thanks in advance
User JB
thuan
Just use the variable %isplaying%. For example, you have a column with %title% in it. To make it like you want it you use this string $if(%isplaying%.$upper(%title%),%title%) .
User 007
QUOTE(thuan @ Apr 8 2007, 11:49) *

Just use the variable %isplaying%. For example, you have a column with %title% in it. To make it like you want it you use this string $if(%isplaying%.$upper(%title%),%title%) .


You mean I modify the "title formatting" settings in the prefs? In playlist tab, I have following settings (they are defaults)

%list_index%. [%album artist% - ]['['%album%[ CD%discnumber%][ #%tracknumber%]']' ]%title%[ '//' %track artist%]
$tab()
%length%

How to modify this? To which point I attach the string " $if(%isplaying%.$upper(%title%),%title%) "?

Thanks
User JB
Andreasvb
No, that's the default UI, go to Playlist view under Columns UI in prefs.

In each column you use the format code.

In Artist: $if(%isplaying%,$upper(%artist%),%artist%)

In Title: $if(%isplaying%,$upper(%title%),%title%)
User 007
QUOTE(Andreasvb @ Apr 8 2007, 14:15) *

No, that's the default UI, go to Playlist view under Columns UI in prefs.

In each column you use the format code.

In Artist: $if(%isplaying%,$upper(%artist%),%artist%)

In Title: $if(%isplaying%,$upper(%title%),%title%)



Thanks a lot, it works like a charm!

Is there any way to get these colums in certain color, i.e. the information of the song being played is in other color than others?

User JB
Andreasvb
If you look at the bottom where you wrote the code you can see a textbox that says $rgb(255,255,255)

Just insert it where you want it, e.g.
CODE
$if(%isplaying%,'np:' $rgb(0,0,255)$upper(%artist%),%artist%)

Will result in something like: np: THE ARTIST NAME
User 007
QUOTE(Andreasvb @ Apr 8 2007, 16:57) *

If you look at the bottom where you wrote the code you can see a textbox that says $rgb(255,255,255)

Just insert it where you want it, e.g.
CODE
$if(%isplaying%,'np:' $rgb(0,0,255)$upper(%artist%),%artist%)

Will result in something like: np: THE ARTIST NAME


Thanks a lot, guy! Guess whether my player seems better than any other player i've ever used!!!
Andreasvb
You're welcome.

Yea, foobar2000 is simply the best happy.gif
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.