IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Columns UI: now playing track different color
noisia
post Apr 24 2009, 18:26
Post #1





Group: Members
Posts: 43
Joined: 13-July 08
Member No.: 55747



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
Go to the top of the page
+Quote Post
novembre
post Apr 24 2009, 20:26
Post #2





Group: Members
Posts: 132
Joined: 6-December 08
From: Italy
Member No.: 63998



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

This post has been edited by novembre: Apr 24 2009, 20:26
Go to the top of the page
+Quote Post
noisia
post Apr 24 2009, 20:48
Post #3





Group: Members
Posts: 43
Joined: 13-July 08
Member No.: 55747



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?
Go to the top of the page
+Quote Post
novembre
post Apr 24 2009, 21:31
Post #4





Group: Members
Posts: 132
Joined: 6-December 08
From: Italy
Member No.: 63998



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.
Go to the top of the page
+Quote Post
noisia
post Apr 24 2009, 21:34
Post #5





Group: Members
Posts: 43
Joined: 13-July 08
Member No.: 55747



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

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

This post has been edited by noisia: Apr 24 2009, 21:36
Go to the top of the page
+Quote Post
dinodisc
post Apr 25 2009, 10:28
Post #6





Group: Members
Posts: 35
Joined: 22-February 06
Member No.: 27974



QUOTE (noisia @ Apr 24 2009, 22:34) *
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.
Go to the top of the page
+Quote Post
noisia
post Apr 25 2009, 12:03
Post #7





Group: Members
Posts: 43
Joined: 13-July 08
Member No.: 55747



QUOTE (dinodisc @ Apr 25 2009, 03:28) *
QUOTE (noisia @ Apr 24 2009, 22:34) *
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 tongue.gif
Go to the top of the page
+Quote Post
TomBarlow
post Apr 25 2009, 12:22
Post #8





Group: Members
Posts: 585
Joined: 30-July 07
Member No.: 45750



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.
Go to the top of the page
+Quote Post
dinodisc
post Apr 25 2009, 13:54
Post #9





Group: Members
Posts: 35
Joined: 22-February 06
Member No.: 27974



QUOTE (noisia @ Apr 25 2009, 13:03) *
QUOTE (dinodisc @ Apr 25 2009, 03:28) *
QUOTE (noisia @ Apr 24 2009, 22:34) *
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 tongue.gif
ok, you got me fooled wink.gif
Go to the top of the page
+Quote Post
dinodisc
post Apr 25 2009, 14:14
Post #10





Group: Members
Posts: 35
Joined: 22-February 06
Member No.: 27974



QUOTE (TomBarlow @ Apr 25 2009, 13: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.
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" .
Go to the top of the page
+Quote Post
KLR
post Nov 29 2012, 08:02
Post #11





Group: Members
Posts: 8
Joined: 31-January 12
Member No.: 96815



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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2014 - 21:03