External Integrations

Configure Navidrome to get information and images from Last.fm and Spotify

Last.fm

Navidrome can use Last.fm to retrieve artists biographies, top songs, similar artists and album covers. It can also send your scrobbles to Last.fm. For these features to work, you’ll need to set the config options LastFM.ApiKey and LastFM.Secret. You can obtain these values by creating a free API account in Last.fm:

  1. Go to https://www.last.fm/api/account/create and create an API account. Only the Application Name field is mandatory:

  1. After submitting the form, you can get the API Key and Shared Secret from the Account Created page:

  1. Copy the values above to your configuration file as LastFM.ApiKey and LastFM.Secret (or set them as environment variables ND_LASTFM_APIKEY and ND_LASTFM_SECRET)

Spotify

Artist images can be retrieved from Spotify. You’ll need to set the config options Spotify.ID and Spotify.Secret. To obtain these values, create a free account in Spotify, then follow these steps:

  1. Click on the “Create app” button in Spotify’s Developer dashboard: https://developer.spotify.com/dashboard/applications:

  1. Fill the name and description fields, fill the “Redirect URI” field with http://localhost/ and click on the “Save” button:

  1. Go to “Settings”:

  1. Click “View client secret”:

  1. Copy the values of ID and secret to your configuration file as Spotify.ID and Spotify.Secret (or set them as environment variables ND_SPOTIFY_ID and ND_SPOTIFY_SECRET):