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: Columns UI: now playing track different color (Read 5279 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Columns UI: now playing track different color

In NG playlist i want the track that is playing to have a red color, how can i do this?

http://i44.tinypic.com/2vjq0d5.jpg

Columns UI: now playing track different color

Reply #1
Put $if(%isplaying%,$rgb(255,0,0)) before every string you want to be coloured.

Columns UI: now playing track different color

Reply #2
doesn't work

$puts(line,$if(%isplaying%,7a675e,363432))
$if(%isplaying%,$set_style(frame-top,1,$get(line)))
$if(%isplaying%,$set_style(frame-bottom,1,$get(line)))
$puts(%title%,$if($if(%isplaying%,$rgb(255,0,0))

like this?

Columns UI: now playing track different color

Reply #3
No, that's not NG playlist code, maybe that's PSS.
You have to put my string in Columns UI configuration, Preferences -> Display -> Columns UI -> Playlist View -> Columns tab.
For every column put that string BEFORE the string you already have.

Columns UI: now playing track different color

Reply #4
thanks man, i thought i had to put it in the style field. amazing, love this.

http://i41.tinypic.com/ob0aq9.jpg


Columns UI: now playing track different color

Reply #6
thanks man, i thought i had to put it in the style field. amazing, love this.

http://i41.tinypic.com/ob0aq9.jpg
Nice layout!
What formatting string did you use for the Album List tree view (the sorting by first character)?
Could you share it, I would like to use it.

lol that's just directory view

Columns UI: now playing track different color

Reply #7
You could try something like $left(%artist%,1), although you'd need more $if()s and stuff if you wanted to put compilations at the top like that.

Columns UI: now playing track different color

Reply #8
thanks man, i thought i had to put it in the style field. amazing, love this.

http://i41.tinypic.com/ob0aq9.jpg
Nice layout!
What formatting string did you use for the Album List tree view (the sorting by first character)?
Could you share it, I would like to use it.

lol that's just directory view
ok, you got me fooled 

Columns UI: now playing track different color

Reply #9
You could try something like $left(%artist%,1), although you'd need more $if()s and stuff if you wanted to put compilations at the top like that.
Thanks, that triggered me into this:

$left($replace($directory_path(%path%),$left(%path%,7),,\,|)|$stripprefix([%tracknumber% - ][%track artist% - ]%title%),1)|$replace($directory_path(%path%),$left(%path%,7),,\,|)|$stripprefix([%tracknumber% - ][%track artist% - ]%title%)

This works for me, except for the compilations. For that I need "some $if()s stuff" .

Columns UI: now playing track different color

Reply #10
Just thought I'd mention for people in the future that I futzed around with attempting to change the now playing track's color for hours, it works fine on another machine; finally rebooted FB2K and voila.  So, as is the case with a couple of other settings, reboots do the trick.