HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: noisia on 2009-04-24 18:26:52

Title: Columns UI: now playing track different color
Post by: noisia on 2009-04-24 18:26:52
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 (http://i44.tinypic.com/2vjq0d5.jpg)
Title: Columns UI: now playing track different color
Post by: novembre on 2009-04-24 20:26:23
Put $if(%isplaying%,$rgb(255,0,0)) before every string you want to be coloured.
Title: Columns UI: now playing track different color
Post by: noisia on 2009-04-24 20:48:47
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?
Title: Columns UI: now playing track different color
Post by: novembre on 2009-04-24 21:31:05
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.
Title: Columns UI: now playing track different color
Post by: noisia on 2009-04-24 21:34:38
thanks man, i thought i had to put it in the style field. amazing, love this.

http://i41.tinypic.com/ob0aq9.jpg (http://i41.tinypic.com/ob0aq9.jpg)
Title: Columns UI: now playing track different color
Post by: dinodisc on 2009-04-25 10:28:50
thanks man, i thought i had to put it in the style field. amazing, love this.

http://i41.tinypic.com/ob0aq9.jpg (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.
Title: Columns UI: now playing track different color
Post by: noisia on 2009-04-25 12:03:19
thanks man, i thought i had to put it in the style field. amazing, love this.

http://i41.tinypic.com/ob0aq9.jpg (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
Title: Columns UI: now playing track different color
Post by: TomBarlow on 2009-04-25 12:22:22
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.
Title: Columns UI: now playing track different color
Post by: dinodisc on 2009-04-25 13:54:46
thanks man, i thought i had to put it in the style field. amazing, love this.

http://i41.tinypic.com/ob0aq9.jpg (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 
Title: Columns UI: now playing track different color
Post by: dinodisc on 2009-04-25 14:14:40
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" .
Title: Columns UI: now playing track different color
Post by: KLR on 2012-11-29 07:02:23
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.