-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
discogs: Skip Discogs query on insufficiently tagged files #4227
Conversation
This is the beginning of an verbose output with the patch in place, using the same untagged album as used in the issue link above:
|
Seems like a great idea! Would you mind adding a quick changelog entry, please? |
Discogs query on insufficiently tagged files).
- When files are missing both, album and artist tags, the Discogs metadata plugin sends empty information to the Discogs API which returns arbitrary query results. - This patch catches this case and states it in beets import verbose output.
Discogs query on insufficiently tagged files).
aca4466
to
4401de9
Compare
Added changelog entry and rebased master into feature branch. |
- Clarify basic search behaviour in intro chapter of discogs plugin, - and state change introduced in PR#4227 (discogs: Discogs query on insufficiently tagged files)
Also added a short note on general search behaviour and the newly introduced "skipping behaviour" to the plugin docs. I can leave it out if you think it's unnecessary clutter or doesn't fit into this PR. Since some basic concepts are described in the "Installation" chapter already, I added it there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great; thanks!!! Seems nice to have for completeness' sake. I think this is good to go once the CI comes back green.
Hello, is this supposed to have fixed this scenario? I would think that
means my files have decent album and artist tags, but the results seem arbitrary as you mentioned. Am I missing something here? |
Hi @martimpassos, i answered to your forum post with some suggestions that might help to find out if this PR's fix could help. |
Description
Fixes #4222.
plugin sends empty information to the Discogs API which returns arbitrary
query results. The resulting "Candidates" are not affiliated with the release being searched for at all and thus are more confusing than helpful to the beets user.
To Do
docs/
to describe it.) -> Should I add a short note to the Discogs plugin chapter?docs/changelog.rst
near the top of the document.) -> Will do that after this PR is approved. Currently I think the "Bug fixes:" section would be the right one to add to.Notes