Skip to main content

Spotify

Spotify and Automix

If your Spotify player has Automix enabled and Spotify uses it for your playlist/queue then MS cannot accurately determine when a track will end. This is because the track is "mixed" in your queue with a shorter play time than its actual length and Spotify does not report this modified play time in its API. This does not affect MS's ability to scrobble from Spotify but it will affect the accuracy of the duration MS reports was played.

Authenticate Spotify with Multi-Scrobbler

Premium Account Required

Starting March 9th 2026 all applications on the Spotify Developer platform will only continue to work if they are owned by a Spotify Premium account.

If your App is not created by a Premium account you will likely recieve a 403 error when trying to use MS with Spotify.

If you do not have a Spotify Premium account you can still use Spotify with MS but it will require you to coordinate with a (friend?) user who does have Spotify Premium:

  • Follow the steps below logged in as the Spotify Premium account user
    • After completing App creation (step 4 or 5), navigate to the User Management page for the created App
    • Add your (non-premium) account here using your account email/name
  • Complete the rest of the authentication/configuration process normally

Assure your friend: Creating a Spotify Developer app does not give anyone access to the owner's account. The authentication process within MS is where authorization is given: it requires clicking the link in MS's dashboard and following a separate auth flow. This auth flow only authorizes access to the specific account used in the flow, unrelated to the owner of the developer app.

To access your Spotify history you must create a Spotify App to get a Client ID/Secret.

  1. Login to https://developer.spotify.com with your existing Spotify account and accept Developer Terms

  2. Navigate to your Spotify Developer Dashboard and start the Create App process

  3. Determine the correct Redirect URI to use and set it in your App settings

Redirect URI Instructions

A Redirect URI is the URL that Spotify will navigate your browser to after you complete authorization. The URL will contain the code necessary for multi-scrobbler to get a Spotify access token.

Spotify no longer allows insecure URIs (start with http://) unless the address is 127.0.0.1 -- so localhost and internal IPs (192.168.0.xxx) no longer work.

Use one of the following methods to specify a valid Redirect URI and complete Spotify authentication with multi-scrobbler:

Use a domain you control, with SSL certificates/HTTPS enabled, to create a valid redirect URI.

For example, if you are already running multi-scrobbler behind a reverse proxy (nginx/traefik/caddy) at https://scrobbler.mydomain.com then set the Spotify Redirect URI for your Spotify App, and multi-scrobbler SPOTIFY_REDIRECT_URI ENV, to https://scrobbler.mydomain.com/callback

Alternatively, if multi-scrobbler is not accessible behind your domain, then use the Echo method with your own domain instead of 127.0.0.1.

  1. Save your new App, then copy the Client ID/Secret from the App's Basic Information page.

  2. Add the Client ID, Secret, and Redirect URI to the respective field/ENV in the configuration section below

  3. Start multi-scrobbler, then visit the Web Dashboard and click (Re)authenticate on the Spotify card to start the auth process

Configuration

Configuration Type

This is configuration for the ENV Config Type.

Environmental VariableRequired?DefaultDescription
SPOTIFY_CLIENT_IDYes
SPOTIFY_CLIENT_SECRETYes
SPOTIFY_REDIRECT_URINohttp://localhost:9078/callbackURI must end in callback