-
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
discogs: Rate limiting #3081
Comments
Thanks for pointing this out! Looks like we need to add rate limiting to the Discogs plugin (like we already have for MusicBrainz and a few other APIs).
I think the importer prompt is just being buried by the verbose output. (Try hitting enter.) |
That was definitely it! I'm going to add the full traceback in case you need it:
|
It looks like the Discogs client exposes a rate limit in the header of the response Perhaps there is a way to check this before performing the next query |
Neat! That should make it pretty straightforward. |
experiencing the same issue. |
Fixed in #3138. |
Problem
I'm trying to run beets to import my music library, using the discogs plugin.
I run
Which yields:
Some googling reveals that Discogs rate limits requests to about 3 per minute.
Running this command in verbose (
-vv
) mode:Causes the application to hang:
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: