-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
mbcollection: Cannot add to a collection of "recordings" #3549
Comments
I need this feature and am willing to see this to completion. I just wanted the opinion of the maintainers on what they think is the best way forward in this scenario so that I we can arrive at a conclusion and I can start implementing. |
Awesome; sounds great to me! |
Just FYI, I've started work on this for the musicbrainzngs part which interested people can follow along at https://github.com/hashhar/python-musicbrainzngs/tree/extended-collections. |
The PR for upstream is open now at alastair/python-musicbrainzngs#259. I'll try and integrate the changes into beets now to test it all end to end and wait for upstream to merge it and release a new version. |
Hi @sampsyo, since the PR upstream isn't merged yet I didn't start work on this yet. But seeing as how it's a trivial change and the API is unlikely to change, I'll start work on this anyway this weekend. Just wanted to check with you regarding how beets currently handles MusicBrainz ratelimits? Since submitting a collection of recordings for the same number of albums can take potentially more API calls compared to collection of releases I expect some people to run into ratelimits. |
OK, too bad! Thanks for looking into it though. The API library rate-limits internally: Perhaps it would make sense to use that same infrastructure—either by reusing the decorator or the low-level API wrapper functions that already use that limiting functionality. |
Use case
I'm trying to use beets' mbcollection plugin to push my library's tracks (recordings in MB terminology) to a collection of type
recordings
.I get an HTTP 400: Bad Request when using the collection id for a Recording Collection but it works fine with a collection id for a Releases Collection.
Solution
Add support to mbcollection plugin to be able to handle collections of recordings too. I can see that the MB web service has an API for the same but it looks like the python bindings don't expose all the knobs on it. From the docs at https://musicbrainz.org/doc/Development/XML_Web_Service/Version_2
Proposal
type
which can be one of areas, artists, events, labels, places, recordings, release-groups, works, or releases.Alternative
The text was updated successfully, but these errors were encountered: