Author Topic: Yet another formula question  (Read 589 times)

Corliss Rain

  • Jr. Member
  • **
  • Posts: 63
Hey, y'all, is it possible to force a line break into the output of a formula? My formula looks like this

{font: Marcellus SC;Bold;11}<Title>$IsNull(<Description>," "," ["<Description>"] ")(<Time>) {font: Marcellus SC;Regular;11}<Artist>$If(<Album Artist>=<Artist>,,[<Album Artist>"] ")

and I want to force a line break where the font changes from Bold to Regular, due to the limited number of spaces available in Track Info. Any ideas?

Thanks!

Zak

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 2459
No, this isn't possible.
You'll have to create two separate tags and find a compromise that works with the number of available rows displayed in the Track Info panel.


See following reply.
Last Edit: August 15, 2022, 04:06:34 PM by Zak
Bee excellent to each other...

Corliss Rain

  • Jr. Member
  • **
  • Posts: 63
Yeah, after a whole lot of trial and error, that's kinda the answer I expected, but it never hurts to ask. Thanks!

hiccup

  • Sr. Member
  • ****
  • Posts: 7880
Adding a semicolon right after (<Time>) should work.
(be sure to have 'split multi-value tags into rows' checked)

Zak

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 2459
Sorry for my earlier incorrect reply.
hiccup is right.

I never even noticed that checkbox in the Track Information settings before.
It's very well hidden.
Bee excellent to each other...

hiccup

  • Sr. Member
  • ****
  • Posts: 7880
I never even noticed that checkbox in the Track Information settings before.
You can do interesting things with it:


Zak

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 2459
Yeah, that does look nice.

Incidentally, I tried using little icons next to my fields, but found they don't work if you also use markup tags.  :(
Bee excellent to each other...