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?
AND?
You need to build a bit more sophisticated queries. For matching artist and album artist: http://www.hydrogenaudio.org/forums/index....showtopic=98286 (http://www.hydrogenaudio.org/forums/index.php?showtopic=98286) . The substring function is $substr(s,m,n)
(I am obviously too clumsy.)
AND?
Do you mean I should use AND or specify my problem?
Use it.
http://wiki.hydrogenaudio.org/index.php?ti...00:Query_syntax (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Query_syntax) [ Foobar2000:Query syntax - Hydrogenaudio Knowledgebase ]
You need to build a bit more sophisticated queries. For matching artist and album artist: http://www.hydrogenaudio.org/forums/index....showtopic=98286 (http://www.hydrogenaudio.org/forums/index.php?showtopic=98286) . The substring function is $substr(s,m,n)
(I am obviously too clumsy.)
ok thanks I can go on from there
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
To find where the artist and album artist tags differ, you can use this:
%track artist% PRESENT
To find where they don't:
NOT %track artist% PRESENT
Note that both tags must be present for them to work.
And an equivalent to this:
%artist% HAS %album artist%
is this:
"$if($strstr(%artist%,%album artist%),true,false)" IS true
edited for clarification