Don't display empty line when field is empty

Feature description:

Only show the artist once when the content of displayartist and albumartist is identical and both are set to be displayed.

Problem solved:

Displaying both displayartist and albumartist can be useful when they differ (individual artist vs. various artists on a compilation, artist + feat. vs. albumartist and so on), but when they are identical, it looks a bit silly to display the same content twice.

Brought benefits:

Cleaner look and saved display space.

Other application solutions:

 
I think Symfonium used to only display artist/albumartist/composer once when they were identical.
 

Additional description and context:

 
I’ve added 2 screenshots. In the first, showing displayartist and albumartist makes sense. In the second, it does not.
 

Screenshots / Mockup:

 

   

Use the additional artist field that does that :wink:

Or use the custom strings with the conditions you want.

1 Like

Lovely, I completely missed that custom entries with conditions are possible. Time to dig deeper. Great update by the way!

Hm. Am I doing something wrong here?


I don’t see a “1 at most” setting in the “String 4 line count”.

Is it possible to avoid having an empty line in this case?

You can use conditional new lines to include both in the same string and have that.

2 Likes

Thanks. Guess I’ll have to re-read the documentation (I noticed it’s in there).
%artist%{\n%albumartist|albumartist!=artist%}
If anyone else wants to achieve the same, this works!
A downside is that you can’t display artist and albumartist differently like this tho.

I’ve adjusted the topic accordingly. I think it would be a better implementation to not display lines when the content is empty. Otherwise you end up with 3 conditional lines in one that are all displayed the same, negating the new customization capabilities.

For example {by %composer%} also yields an empty line when no composer is present.
To avoid that, I can adjust the artist string further to:

%artist%{\n%albumartist|albumartist!=artist%}{\nby %composer%}

but this forces all 3 fields into the same display style.

Edit:
Thanks for implementing this!

1 Like

With internet radios I was getting an empty string for the album field. A custom string of %album|album!=empty% properly hides it when that field is empty, but I had set the lines to 2 (at most), which I would’ve expected would hide it when the string is empty, without needing a custom rule

Hello, I am trying to fully hide the line for ‘Album Artists’ when it matches the ‘Track Artists’.

I have tried both setting the string to ‘Additional Artists’ and

%albumartist|albumartist!=artist%

with a setting of ‘2 (At most)’ line count. In both situations, the empty line still seems present when the field is empty, as evidenced by the position of the ‘Year’ string below it. It looks the same with both configurations.

Also, when using the custom string variation, the click action still functions even when the string is empty. This does not happen when using the ‘Additional Artists’ string. However, the Additional Artists string links to ‘More information’, whereas I’d like to link it to the artists displayed in the string.

My aim is for the screen to act as if that line does not exist (including in spacing) when there is no additional artists. I may have missed something for this to be possible, and would appreciate some help. I also want it to function as a clickable link to Album Artists when present, and have a maximum line value of 2.


Thank you

Don’t post on closed feature request. Open proper issues.

2 Likes