Hi,
Is it possible to use a filter to find albums with more than one genre?
Hi,
Is it possible to use a filter to find albums with more than one genre?
Multi-value tag-field GENRE:
Groove Metal\\Symphonic Black Metal\\Thrash Metal
Example1:
("$meta(GENRE)" HAS "Metal") AND ("$meta(GENRE)" HAS "Groove")
Example2:
("$meta(GENRE)', '" HAS "Groove Metal, ") AND ("$meta(GENRE)', '" HAS "Thrash Metal, ")
Example3:
"$if($eql($meta(GENRE,1),),0,1)" IS 1
See also:
https://docs.mp3tag.de/filter
DD.20101114.0733.CET
Hi DetlevD,
Thanks for your quick answer and examples. I will try to be more exact. How can I find an album where GENRE is > 1? I have tried
"$if($eql($meta(GENRE,1),),0,1)" IS 1
but that didn't work.
It works for me. See attached picture.

Try it out using this example file:
20101114.Genre.Multiple.Example.mp3 (2.03 KB)
And this works too to detect a file which contains a multi-value GENRE tag-field.
"$iflonger($regexp($meta(GENRE),'[^,]',),,1,0)" IS 1

DD.20101114.1437.CET

20101114.Genre.Multiple.Example.mp3 (2.03 KB)

Sorry I wasn't clear enough, but I'm looking for multiple genres per album, and not per song. In my 60.000 plus collection I have seen some albums with, let's say 10 songs, where 5 songs have genre Rock, and 5 songs have Pop-Rock. I would like to query my collection to see if there are more albums were different genres are used.
Yes you wrote "album", sorry, I have overlooked this particular information.
In general it makes sense, that different files within an album can contain different music of different genre types, and it is not a fault per se.
DD.20101114.1503.CET
Of course, I agree, multiple genres within an album is not a fault per se, but how do I query my collection to find this?