Quick reference for getting the API credentials Discogs Spinner needs.
Required for all users. Lets the app read your collection, wantlist, and market data.
- Log in to discogs.com
- Go to Settings → Developers: https://www.discogs.com/settings/developers
- Scroll to Personal Access Tokens and click Generate new token
- Copy the token — it won't be shown again
Set it in your shell:
export DISCOGS_TOKEN="your_token_here"Or add it to your shell profile (~/.bashrc, ~/.zshrc, etc.) so it persists across sessions.
Privacy: Your token grants read/write access to your Discogs account. Keep it out of public repos and shared dotfiles.
Optional. Only needed if you want Spotify Connect playback control from inside the app.
You need three values: Client ID, Client Secret, and a redirect URI.
- Log in to the Spotify Developer Dashboard
- Click Create app
- Fill in any name and description (e.g. "Discogs Spinner local")
- Under Redirect URIs, add exactly:
http://127.0.0.1:8765/callback - Check Web API and Web Playback SDK, then click Save
On the app detail page, click Settings to reveal:
- Client ID — visible immediately
- Client Secret — click "View client secret"
export SPOTIPY_CLIENT_ID="your_client_id"
export SPOTIFY_SECRET="your_client_secret"
export SPOTIPY_REDIRECT_URI="http://127.0.0.1:8765/callback"Add these to your shell profile to persist them.
dplayer auth spotify --open-browser --listen-host 127.0.0.1 --listen-port 8765This opens a browser window for one-time OAuth authorization. After approving, the token is stored locally and refreshed automatically.
Run dplayer auth spotify-doctor at any time to verify connectivity.
Privacy: Your Spotify credentials grant playback control only. The app never accesses your Spotify listening history or account details beyond active device state.