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, 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
>> 

>> On Tue, Jan 31, 2017 at 9:42 AM, Arnaud Castaner
>> <fur...@gmail.com> wrote:
>>> 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 -a albumartist:Queen

>>> 

>>> Queen - A Day at the Races

>>> Queen - A Kind of Magic

>>> Queen - Flash Gordon

>>> Queen - Greatest Hits

>>> Queen - Greatest Hits II

>>> Queen - Greatest Hits III

>>> Queen - Hot Space

>>> Queen - Innuendo

>>> Queen - Jazz

>>> Queen - Made in Heaven

>>> Queen - News of the World

>>> Queen - Queen

>>> Queen - Queen II

>>> Queen - Sheer Heart Attack

>>> Queen - The Game

>>> Queen - The Miracle

>>> Queen - The Works

>>> Queens of the Stone Age - R

>>> Queens of the Stone Age - Songs for the Deaf

>>> Queens of the Stone Age - ?Like Clockwork

>>> Queensrÿche - Operation: Mindcrime

>>> 

>>> I tried using albumartist:"Queen" (added quotes) but it does the
>>> same. How can I get beets to search literally for the specified
>>> value?
>>> 

>>> 



>>> --
>>>  You received this message because you are subscribed to the Google
>>>  Groups "beets" group. To unsubscribe from this group and stop
>>>  receiving emails from it, send an email to beets-
>>>  users...@googlegroups.com. For more options, visit
>>>  https://groups.google.com/d/optout.
>> 

> 



> --

>  You received this message because you are subscribed to the Google
>  Groups "beets" group.
>  To unsubscribe from this group and stop receiving emails from it,
>  send an email to beets-users+unsubscr...@googlegroups.com.
>  For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beets-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to