Open Joshfindit opened 8 years ago
Sounds reasonable!
How about a filter
configuration option, which is a positive query that music must match to be included? Then you can use the new negation operator in queries to get blacklist behavior.
If I'm understanding correctly, by default it would specify tracks you definitely want to check for, and by specifying tracks with a negation operator, it would flip around and blacklist those tracks?
On Nov 27, 2015, at 7:16 PM, Adrian Sampson notifications@github.com wrote:
Sounds reasonable!
How about a filter configuration option, which is a positive query that music must match to be included? Then you can use the new negation operator in queries to get blacklist behavior.
― Reply to this email directly or view it on GitHub.
Yep! The idea is that you would have this configuration:
duplicates:
filter: ^bar
And then this command:
$ beet duplicates foo
would be equivalent to using the combined query foo ^bar
in the default configuration.
Yeah, that makes sense and would fit the bill. Would this allow for wildcards?
On Nov 28, 2015, at 1:35 PM, Adrian Sampson notifications@github.com wrote:
Yep! The idea is that you would have this configuration:
duplicates: filter: ^bar And then this command:
$ beet duplicates foo would be equivalent to using the combined query foo ^bar in the default configuration.
― Reply to this email directly or view it on GitHub.
In the same way that queries can... got an example you're interested in?
Re-reading, I see you're proposing adding the ability to 'add' a query to the missing
plugin, which is perfect. I can't think of anything I would want to exclude that wouldn't be served by this.
As for an example of wildcards; I can't really think of one except being able to filter out missing tracks from entire artist/band members (like *Yo-Yo Ma
filtering out both the artist as well as Silk Road Ensemble, Yo-Yo Ma
)
Great! And as for blanket queries, that's (thankfully) the default if you don't use a field qualifier.
There are some albums where I specifically don't keep certain tracks. Doing a search for missing tracks, these will always come up and clutter the list.
So, I propose a blacklist: If a track or album is in the blacklist, the
beet missing
list would simply not show them, or show a+42 tracks blacklisted
indicator at the end of the list.