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: Media Library Queries (Read 1476 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Media Library Queries

Is it possible to make a search query which has a regular expression on both sides of a comparison, like:

%artist% HAS %album artist%
%album% IS %title%

when I tried something like this, the right side was interpreted as string according to the query syntax help
I want it to take the information from the tags obviously
Is there a plugin I need for this or am I doing something wrong?

Media Library Queries

Reply #1
AND?
Windows 10 Pro x64 // foobar2000 1.3.10





Media Library Queries

Reply #6
In case anyone needs it, I used this to filter for tracks with differing artist/album artist:

"$if($stricmp(%artist%,%album artist%),true,false)" IS false

 

Media Library Queries

Reply #7
To find where the artist and album artist tags differ, you can use this:
Code: [Select]
%track artist% PRESENT

To find where they don't:
Code: [Select]
NOT %track artist% PRESENT

Note that both tags must be present for them to work.

And an equivalent to this:
Quote
%artist% HAS %album artist%

is this:
Code: [Select]
"$if($strstr(%artist%,%album artist%),true,false)" IS true


edited for clarification