Skip to content

Last.fm

Limits for Old Scrobbles

Last.fm will not accept scrobbles that are timestamped as older than 2 weeks from the current time.

This is not officially documented but has been confirmed by multiple people/mods in the last.fm support forums: [1] [2] [3]

Multi-scrobbler can queue scrobbles for you if the Last.fm service is unavailable, or if there is an issue with a specific scrobble. However, you are responsible for making sure these scrobbles are eventually sent to Last.fm (by retrying in the UI or retarting Last.fm client in UI) before the two week window has passed or else they will not be scrobblable at all unless the timestamp is changed.

A future update to Multi-scrobbler will enable editing of unsent scrobble data and modifying the timestamp from the UI.

If you have issues with specific scrobbles not being sent and retries/restarts do not fix it, please make sure to create a new issue in a timely manner so that it can be resolved before the window has passed.

You will need a Last.fm account to use the Last.fm API.

After creating your account, register for an API account here.

The callback URL in the API account form is not used, but to keep it consistent use the same value you set using the Callback/Redirect URL section.

Take note of your API Key and Secret after account creation.

The Redirect (Callback) URL is used to redirect your browser to multi-scrobbler after authentication has completed.

So, the base of the URL you use should be the same as the URL you would use to navigate to the multi-scrobbler dashboard.

Example

If you can visit the multi-scrobbler dashboard by navigating to http://192.168.0.100:9078 in your web browser…

then the ENV LASTFM_REDIRECT_URI, or redirectUri for last.fm/libre.fm json config, should be

http://YOUR_MS_DOMAIN/lastfm/callback

The Redirect URL can be explicitly specified in the configuration below, or by using the global Base URL setting.

Configuration Type

This is configuration for the ENV Config Type.

Environmental Variable Type Default Description
LASTFM_ID string A globally unique ID EX myComponentId
LASTFM_NAME string Value of LASTFM_ID A vanity name EX My Cool Component
LASTFM_ENABLE boolean true Should this component be used?
LASTFM_API_KEY string API Key generated from Last.fm/Libre.fm account
LASTFM_SECRET string Secret generated from Last.fm/Libre.fm account
LASTFM_REDIRECT_URI string http://localhost:9078/lastfm/callback Optional URI to use for callback.
LASTFM_SESSION string Optional session id returned from a completed auth flow

Bold/Italic = Required