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: Foobar Color Settings (Read 9812 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Foobar Color Settings

Using Columns UI + Facets

Although i have played around with the color settings within foobar for CUI and DUI, I still cannot figure out a way to change the subtle background color of the current song that is playing in the playlists (NG Playlist and Columns Playlist).
as seen in this pic (shown next to the red markings):

well... the red marking points to the song that is currently being played. It has not been selected / highlighted but foobar highlights it anyways but in a very subtle manner. I want to know if i can change the color settings for this since it's extremely faint.

Foobar Color Settings

Reply #1
Try this :

Columns UI > Playlist View > Columns > Script > Display or Style (I don't remember)

$if(%isplaying%,$set_style(back,$rgb(xxx,xxx,xxx)))

Don't forget to tick "Use custom style script"

Foobar Color Settings

Reply #2
Try this :
Columns UI > Playlist View > Columns > Script > Display or Style (I don't remember)
$if(%isplaying%,$set_style(back,$rgb(xxx,xxx,xxx)))
Don't forget to tick "Use custom style script"

yes, that was it.
thanks alot!
but i have to do so for every column and also, the lines lose their alternate shading (which will need a little bit more coding)
so i believe it would be more appropriate here: Columns UI > Playlist View > Globals > Style
don't you think so?

the Global Style is currently the default:
Quote
$if(%_themed%,,$if($and(%isplaying%,$not(%_is_group%)),

$puts(back,$offset_colour(%_back%,$offset_colour($calculate_blend_target(%_back%),ff0000,20),25))
$puts(back-selected,$offset_colour(%_selected_back%,$offset_colour($calculate_blend_target(%_selected_back%),ff0000,20),25))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$offset_colour($calculate_blend_target(%_selected_back_no_focus%),ff0000,20),25))
,

$ifequal($mod($if2(%_display_index%,%list_index%),2),0,
$puts(back,$offset_colour(%_back%,$calculate_blend_target(%_back%),12))
$puts(back-selected,%_selected_back%)
$puts(back-selected-no-focus,%_selected_back_no_focus%)
,
$puts(back-selected,$offset_colour(%_selected_back%,$calculate_blend_target(%_selected_back%),7))
$puts(back-selected-no-focus,$offset_colour(%_selected_back_no_focus%,$calculate_blend_target(%_selected_back_no_focus%),7))
$puts(back,%_back%)
)

)
$set_style(back,$get(back),$get(back-selected),$get(back-selected-no-focus)))

now i haven't delved much in title formatting, so this looks complicated. i will do my research but in the meantime, could you / someone help me with which line i will have to modify and with what?
something to do with calculating the blending maybe?

--
just for knowledge's sake

Foobar Color Settings

Reply #3
well... i played with the global style and got my desired output for now.



changing the values of this line:
$puts(back,$offset_colour(%_back%,$offset_colour($calculate_blend_target(%_back%),ffaeaa,80),30))
was better than replacing it with something else.

although i have checked the Titleformat Reference wiki here, i haven't found the description for the ones used here.
What i basically inferred was:
ffaeaa is the background color (in the order bbggrr)
80 is, i guess, the saturation
30 is, i guess, the luminosity
i maybe wrong but close
if anyone can link me to the title formatting variables used here, it'll be great.

also, i am wondering if i can set the text of the %isplaying% track to bold.
i tried $set_font but it doesn't seem to work anywhere here.
i guess i must be doing something wrong.
any ideas?

Foobar Color Settings

Reply #4
I never use the $offset_colour function and this function is not mentionned in the wiki : http://yuo.be/wiki/columns_ui:config:colour_string

I don't think we can have multiple fonts in the playlist view, so we can't put in bold the playing track.

Foobar Color Settings

Reply #5
yeah, i tried alot to get the font bold but no luck.
i believe your right.
no idea about $offset_colour either.
also, this link is way back from 2006 about it: http://www.hydrogenaudio.org/forums/index....showtopic=43742

i instead set the color of the now playing track's text to a greenish blue shade with a simple:
$set_style(text,7EC34C,000A6F,A8FF91) as the second line in the global style

--
just concocted the colored shit together to go with the look (am bad with choosing shades that blend beautifully with eachother)