You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following two albums in my library: "Son of Morris On" and "Great Grandson of Morris On". According to the phrases section of the queries chapter from the documentation it should suffice to use beet list -a "Son of Morris On" to find the first album. However the command returns both the albums mentioned above. I guess this is a problem because the former album can be considered a substring of the latter (ignoring capitalization). Modifying the command to beet list -a album:"Son of Morris On" gives the same result. Using regex works as intended though: beet list -a album::"Son of Morris On" returns only the former album. However the same regex query doesn't work with the modify command beet modify -a album::"Son Of Morris On" albumartist="Ashley Hutchings", it notifies me that no matching album is found.
Update: regex does work with the modify command. I just made the error of using "Of" instead of "of". It's still not clear if the list command works as intended regarding phrases.
Setup
OS: Windows 7 (don't judge)
Python version: 3.7
beets version: 1.4.9
I tried turning off plugins, and that made the problem go away (yes/no): no because I don't think it's related to plugins.
I have the following two albums in my library: "Son of Morris On" and "Great Grandson of Morris On". According to the phrases section of the queries chapter from the documentation it should suffice to use beet list -a "Son of Morris On" to find the first album. However the command returns both the albums mentioned above. I guess this is a problem because the former album can be considered a substring of the latter (ignoring capitalization).
I don't think the documentation describes a different behaviour (it might be possible to improve the example). It is talking about shell argument parsing, i.e. beet list the rebel will generate two separate matchers for "the" and "rebel", so the matches don't need to be adjacent, whereas beet list "the rebel" will only match "the rebel", not anything that contains both words.
Using regex works as intended though: beet list -a album::"Son of Morris On" returns only the former album.
The regex is case-sensitive, while the "regular" query is not.
I guess the solution here is to use regex queries or explicitly match multiple fields (as you did with the albumartist) when you need to match something very specific.
Problem description
I have the following two albums in my library: "Son of Morris On" and "Great Grandson of Morris On". According to the phrases section of the queries chapter from the documentation it should suffice to use
beet list -a "Son of Morris On"
to find the first album. However the command returns both the albums mentioned above. I guess this is a problem because the former album can be considered a substring of the latter (ignoring capitalization). Modifying the command tobeet list -a album:"Son of Morris On"
gives the same result. Using regex works as intended though:beet list -a album::"Son of Morris On"
returns only the former album.However the same regex query doesn't work with the modify commandbeet modify -a album::"Son Of Morris On" albumartist="Ashley Hutchings"
, it notifies me that no matching album is found.Update: regex does work with the modify command. I just made the error of using "Of" instead of "of". It's still not clear if the list command works as intended regarding phrases.
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: