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
{{ message }}
Repository navigation
beet modify uses an object string representation instead of the user-defined value when using the 'select' option #7019
Hi! New to beets. Tried renaming a bunch of album artists at once, the search results were too broad however. Using the 'select' option after to narrow down the albums resulted in a stringified object being used as the album artist name. I can't re-do this command since I accepted the changes thinking it was just a bug on the UI side, but it did in fact change the artist in the data as well.
Problem
$ beet modify -a 'Ye' albumartist='Kanye West'
Led to this problem:
[...]
Ye - 808s & Heartbreak
albumartist: Ye -> Kanye West
[...]
Really modify, move and write tags? (Yes/no/select) select
[...]
Ye - 808s & Heartbreak
albumartist: Ye -> ModifyOperation(operator=None, value='Kanye West')
Setup
OS: macOS Tahoe
Python version: 3.14.7
beets version: 2.13.1
Turning off plugins made problem go away (yes/no): no
I noticed that this issue was mentioned in another repository (wolfgang-aura/Mailman#103), where a note says that the fix for this issue is already in the code. I looked at the history and found that the fix is commit e584691 ("modify: fix selecting objects"), released in v2.14.0.
So the bug itself seems to be resolved. The existing tests check selecting items, but I did not find a test for selecting albums with --album, which is the case in this issue.
If you agree, I would like to add a small regression test for this case. Would that be OK?
Activity
Sabrina04072003 commentedon Oct 5, 2026
Hello , i would like work on this issue
snejus commentedon Oct 5, 2026
Please go ahead!
Sabrina04072003 commentedon Oct 12, 2026
Hi @snejus, thank you!
I noticed that this issue was mentioned in another repository (wolfgang-aura/Mailman#103), where a note says that the fix for this issue is already in the code. I looked at the history and found that the fix is commit e584691 ("modify: fix selecting objects"), released in v2.14.0.
So the bug itself seems to be resolved. The existing tests check selecting items, but I did not find a test for selecting albums with
--album, which is the case in this issue.If you agree, I would like to add a small regression test for this case. Would that be OK?
modify: add regression test for selecting albums (beetbox#7097)