More > JRiver Media Center 22 for Windows

Lighter font inside brackets

(1/2) > >>

A.K.:
is it possible to display text in brackets in lighter font?

Example (album): Tyranny and mutation (remastered)
Or (track name): Buck's Boogie [Studio Version] [Bonus]

blgentry:
You can alter the thumbnail text to show fonts the way you want them, using HMTL font properties.  Here's an example (which I stole from a recent posting by marko):

<font color="a3a3a3">Your text goes here</font>

If these square brackets are already embedded inside your fields (like Name or Album), you would have to do some expression language magic to make this happen.  My first blush at this is something like:

replace([Album],/[,<font color="a3a3a3">/[)
and
replace([Album],/],</font>/])

This is untested, but should give you the right idea.  This will work for thumbnail text.  If you are wanting to see this in the track details display, or Playing Now, I guess I'd make new calculated fields (like [Album Display]) and do the replacements above inside those new fields.

It's certainly not an easy answer, but if you really want it, I think it can probably be done.

Brian.

A.K.:
Thanks. Where do I copy those codes? Is it "Customize view>Edit>Expression>Expression to display"?

blgentry:
If that's where you want to see them (the top display area), then give it a try.  I'm not sure if the top area uses HTML display codes, but almost the entire rest of the interface does, so it's worth a try.

Brian.

marko:
I'm pretty sure that back slash needs to be escaped...

<font color="a3a3a3">Your text goes here<//font>

which would mean that the tail end of the replace expression would be

replace([Album],/],<//font>/])

I can't test right now, but if it doesn't work, try doubling up the backslashes that close the <font> code, as shown above.

Navigation

[0] Message Index

[#] Next page

Go to full version