I'm a bit confused about how the expression language can be used. I want to make a smartlist which includes all music files which have both an Album Artist and an Artist defined and where the Album Artist is equal to the Artist. In other words, I need to compare two fields. Since there is no standard rule for this, I thought I could create a custom rule using the "import" button, like this:
field("Album Artist") = field("Artist")
or
isequal(field("Album Artist"), field("Artist"))
But when I save the custom field, it does not work and the above text is not even saved in the same format. I also tried a more simple comparison, like this:
albumartist=artist
But in this case, "albumartist" is treated as a field name but "artist" is treated as a simple string.
So, it seems like the expression language cannot be used for smartlists. Is this correct, or am I doing something wrong? If I can't use expressions, how can I create a list like I've described?