Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Color Track One (Read 4028 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Color Track One

Can someone tell me how to make it so that if a playlist item is "track # 1" on any given album it shows up as a different color..........

......I had it in 0.8.3....See.....

[a href="http://img501.imageshack.us/my.php?image=capture292006112547am0af8fh.png" target="_blank"]
foobar2000 + EAC + Burrrn = Happiness

Color Track One

Reply #1
Code: [Select]
$ifgreater(%tracknumber%,1,,$rgb(RRR,GGG,BBB))

Color Track One

Reply #2
Open the Preferences, go to Display | Columns UI | Playlist view | Globals, switch to the Style tab, and insert the following code:

Code: [Select]
$if($strcmp(%tracknumber%,01),$set_style(text,$rgb(0,0,255),$rgb(0,0,255)))

Replace the color values by your desired color, I just picked a simple blue.

For further questions, please have a look at the article Style string in the Columns UI manual and the Titleformat Reference first.

Color Track One

Reply #3
Thanks a lot
foobar2000 + EAC + Burrrn = Happiness

 

Color Track One

Reply #4
a little bit to slow...

Code: [Select]
$if($strcmp(%tracknumber%,01),$rgb(120,140,50)%artist% - %title%,$rgb()%artist% - %title%)
$tab()
%length%


works with default gui

edit:
and here with a nice color effect
Code: [Select]
$if($strcmp(%tracknumber%,01),$hsl($mod($div($crc32(%album%),240),240),240,120),$rgb(120,120,120))
$if(%isplaying%,$rgb())