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: Columns UI - Filter formatting (Read 631 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Columns UI - Filter formatting

I've got a plugin that exports a variable called %_added_justdays%. The value is the int number of days that have elapsed since being added to the library.

If the value is less than 7 it adds "New!" to the Artist and Album filter.

That's current form:
[%Artist% $ifgreater(%_added_justdays%,7,,$rgb(0,187,202,2,150,200)'('New!')')]

But it doubles the Artist field. Normal and the "New!" one.

Is it possible to add this suffix "New!" to the Artist field if at least one of his albums has this suffix?

Please check out attached screenshots below! They explaing what effect im looking for.