Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%aunique fails when listing albums #3042

Closed
djl opened this issue Sep 26, 2018 · 1 comment · Fixed by #3043
Closed

%aunique fails when listing albums #3042

djl opened this issue Sep 26, 2018 · 1 comment · Fixed by #3043
Labels
feature features we would like to implement

Comments

@djl
Copy link
Member

djl commented Sep 26, 2018

Problem

$ beet ls -a -f '$albumartist - $album%aunique{}'
Weezer - Make Believe<no such field 'album_id'>
Weezer - Maladroit<no such field 'album_id'>
Weezer - Pinkerton<no such field 'album_id'>
Weezer - Raditude<no such field 'album_id'>
Weezer - Weezer<no such field 'album_id'>
Weezer - Weezer<no such field 'album_id'>
Weezer - Weezer<no such field 'album_id'>

Looks like aunique assumes that it'll only ever handle Items (albums don't have an album_id field).

This seems like a simple fix. I should have a pull request ready today or tomorrow.

@sampsyo sampsyo added the feature features we would like to implement label Sep 26, 2018
@sampsyo
Copy link
Member

sampsyo commented Sep 26, 2018

Sounds great! This seems like a nice, straightforward addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature features we would like to implement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants