[beets] How to list an exact string in queries

2017-01-31 Thread Arnaud Castaner
Hi, I'm trying to do something that seems simple but I can't find a way to do it right. I want a query to look for *exactly* album artist value I specify. When I do "beet ls -a albumartist:Queen" I'd like to see only the albums from Queen, and only Queen. Instead, it gives me this: beet list -

Re: [beets] How to list an exact string in queries

2017-01-31 Thread Michael MacLeod
Hey, Try: beet ls -a albumartist::^Queen$ What you're looking for is a regex query. You can read more about them here: http://beets.readthedocs.io/en/v1.4.3/reference/query.html#regular-expressions On Tue, Jan 31, 2017 at 9:42 AM, Arnaud Castaner wrote: > Hi, > > I'm trying to do something tha

Re: [beets] How to list an exact string in queries

2017-01-31 Thread Arnaud Castaner
That worked, thanks! On Tuesday, January 31, 2017 at 3:55:51 PM UTC+1, Mike wrote: > > Hey, > > Try: beet ls -a albumartist::^Queen$ > > What you're looking for is a regex query. You can read more about them > here: > http://beets.readthedocs.io/en/v1.4.3/reference/query.html#regular-expressions

Re: [beets] How to list an exact string in queries

2017-01-31 Thread Steve Johnson
Although the given solution works, it's much slower than the raw substring query. Would be nice to get that optimized in the future. (My library is large.) On Tue, Jan 31, 2017, at 08:33 AM, Arnaud Castaner wrote: > That worked, thanks! > > On Tuesday, January 31, 2017 at 3:55:51 PM UTC+1,