discogs plugin extends the autotagger’s search capabilities to
include matches from the Discogs database.
pip install discogs-client
You will also need to register for a Discogs account, and provide authentication credentials via a personal access token or an OAuth2 authorization.
Matches from Discogs will now show up during import alongside matches from MusicBrainz.
If you have a Discogs ID for an album you want to tag, you can also enter it at the “enter Id” prompt in the importer.
Authentication via Personal Access Token¶
As an alternative to OAuth, you can get a token from Discogs and add it to
To get a personal access token (called a “user token” in the discogs-client
documentation), login to Discogs, and visit the
Developer settings page. Press the
token button, and place the generated token in your configuration, as the
user_token config option in the
Several issues have been encountered with the Discogs API. If you have one, please start by searching for a similar issue on the repo.
Here are two things you can try:
- Try deleting the token file (
~/.config/beets/discogs_token.jsonby default) to force re-authorization.
- Make sure that your system clock is accurate. The Discogs servers can reject your request if your clock is too out of sync.