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: Facets vs Playlist (Read 1024 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Facets vs Playlist

It's only a little thing, but if there's a way to change it, I've not found the option.
On the left of the attached screenshot is a Facets column. On the right is a Playlist column. For the Facets columns, if part of the Title is wrapped in brackets, it's automatically dimmed. For the Playlist columns that doesn't happen.
I think I prefer the Playlist display, but there appears to be an opportunity for increased consistency here. Or am I missing something? I'm running XP.

Cheers.

Re: Facets vs Playlist

Reply #1
The dimming is a hard-coded feature in Facets. I'm pretty sure it isn't configurable. You can simulate it in playlist view with titleformat by using $replace to add dimming and brightening codes to brackets.

Re: Facets vs Playlist

Reply #2
^ Or you could go the other way and remove the dimming in Facets (and SimPlaylist if you use it). Personally I stop it dimming track titles with rounded brackets as they are usually part of the song title, while leaving square brackets dimmed and renaming tracks that are not part of the song title to use them instead - '[Live]', '[Remix]', etc.

Code: [Select]
$replace(%title%,'(','>>(',')',')<<')

Cheers ;)

Re: Facets vs Playlist

Reply #3
Thanks guys, I tried adjusting the brightness myself but couldn't get it to work. The method anamorphic posted works a treat, but while I'm here...

anamorphic,
I'm not sure why the method you posted changes the brightness of the contents of the brackets, and not just the brackets themselves. Is there something unique about bracket highlighting or am I missing the obvious?

Cheers.

Edit: Ah....maybe I did miss the obvious.
I guess anamorphic's method would ultimately change (some text in brackets) to >>(some text in brackets)<<. Doh!

I tried this with a Facets column:
>>>%artist%
and the result was the same as this:
>>>%artist%<<<
so I assume the following means "end highlighting"
<<<
but it's not required for the highlighting to work?  I just want to make sure I understand.

Thanks.

Re: Facets vs Playlist

Reply #4
I'm not sure why the method you posted changes the brightness of the contents of the brackets, and not just the brackets themselves. Is there something unique about bracket highlighting or am I missing the obvious?
It does both. It is assumed where there is an opening bracket, there will also be a closing bracket. So ...

(Live) becomes >>(Live)<<

And any text within the highlight characters gets brighter (or dimmed if the reverse).

Quote
Also, I can't quite get my head around highlighting like >>this, compared to highlighting like >>this<<.

It is only the latter ('>>this<<') and that is the only way. Both opening and closing brackets are being replaced. Have a look again at the code ;)

Edit: Ah, you edited your understanding. ;) Yes, I guess if there are no "end highlighting" brackets it simply ends where the column ends, but that is not the ideal way.

Cheers

Re: Facets vs Playlist

Reply #5
Yeah, I feel a little mentally challenged for not wrapping my brain around it at first.... now it does seem obvious.

I blame Avisynth, because I've been using it bit lately and it won't forgive a comma out of place, so I was in a mind-set where if highlighting was supposed to be done like >>>this<<<, it couldn't possibly work like >>>this, and therefore I must be missing something. :)

Thanks for you help!

 

Re: Facets vs Playlist

Reply #6
Edit: disregard, thought this was about Facets vs Columns UI filter panels. I'll leave the code below in case it's useful for someone, though.

You can achieve similar dimming using $replace() and $rgb() in CUI filter panels. Something like:
Code: [Select]
$puts(A,$rgb(0,0,0,0,0,0))
$puts(B,$rgb(255,0,0,255,0,0))

$replace(%title%,
'(',$get(B)'(',
')',')'$get(A),
'[',$get(B)'[',
']',']'$get(A)
)