Hydrogenaudio Forums

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: bukakow on 2019-06-15 19:14:23

Title: Columns UI - Filter formatting
Post by: bukakow on 2019-06-15 19:14:23
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.
SimplePortal 1.0.0 RC1 © 2008-2020