I have been using the smartplaylist plugin to make simple genre playlists. I see in the documentation that multiple queries on the same line are ANDed. However, when I do the same thing in a query for smartplaylist it seems to always OR them. Here is the relevant portion of my config.
The last one is the problem. I want to exclude specific genres from my oldies playlist. What is happening is that it is finding ALL songs that are not metal and adding them to the playlist as well as, presumably, the songs from the first query.
I have never heard of an oldies radio station with AC/DC on it unless it is a rock station.
It was actually a problem with a “custom tag.” I have another plugin that creates a tag named recording_year and I was trying to use that in the query. I can use queries containing that custom field on the command line, but the playlist fails to create until I remove it from the smartplaylist query line. To side-step that issue I have updated the plugin to also overwrite the original_year tag, which is supported.