Skip to content

Music Assistant has the ability to scrobble to LastFM or LibreFM. Contributed and maintained by Willem-Jan Zijderveld

  • Connect to either LastFM or LibreFM and scrobble the songs that are playing
  • Now playing feature is supported

For LastFM, Music Assistant includes the required API credentials. You do not need to create a LastFM API application.

  • Leave the Provider set to Last.FM
  • Click Authorize with lastfm, this will open a new tab with LastFM where permission must be given by clicking “Yes, allow access”
  • The UI will indicate a successful login. Ensure to click SAVE to complete the configuration

NOTE

The LastFM authorization callback uses the Music Assistant Base URL from Settings > System > Webserver. If authorization does not return to Music Assistant, set the Base URL to the same URL that you use to open Music Assistant in your browser.

For LibreFM, or to use your own LastFM API application, open the advanced settings and enter the API Key and Shared secret before authorizing. LibreFM always requires custom API credentials.

  • Provider. Select Last.FM for LastFM scrobbling or LibreFM for LibreFM scrobbling
  • API Key. Advanced setting to override the built-in LastFM API key. Required for LibreFM
  • Shared secret. Advanced setting to override the built-in LastFM shared secret. Required for LibreFM
  • Suffix version to track names. This adds the version, as stored in the Music Assistant database, to the end of the track name when it is sent to Last.fm. This may be useful if Musicbrainz IDs are not available to disambiguate same named tracks from an artist
  • Scrobble for users. This allows selection of which logged-in user will be scrobbled by this plugin. Multiple instances of this plugin can be added
  • Scrobble for players. This allows selection of which players will register scrobbles
  • Currently songs will only get scrobbled when they’re fully played (90+%)
  • Be careful to avoid double scrobbling. This is possible if a music source is used that also does scrobbling internally. A future improvement is to make it configurable which music sources will be scrobbled