Last.fm
Other Users
- To monitor and re-scrobble activity from your Last.fm account create a Last.fm (Source)
- To accept scrobbles from outside applications as if multi-scrobbler was Last.fm, create a Last.fm (Endpoint)
Register for an API account here.
The Callback URL is actually specified by multi-scrobbler but to keep things consistent you should use
http://localhost:9078/lastfm/callback
or replace localhost:9078 with your own base URL.
Configuration
- ENV
- File
- AIO
| Environmental Variable | Required? | Default | Description |
|---|---|---|---|
LASTFM_API_KEY | Yes | Api Key from your API Account | |
LASTFM_SECRET | Yes | Shared secret from your API Account | |
LASTFM_REDIRECT_URI | No | http://localhost:9078/lastfm/callback | Url to use for authentication. Must include lastfm/callback somewhere in it |
LASTFM_SESSION | No | Session id. Will be generated by authentication flow if not provided. |
CONFIG/lastfm.json
[
{
"name": "myLastFmClient",
"enable": true,
"configureAs": "client",
"data": {
"apiKey": "a89cba1569901a0671d5a9875fed4be1",
"secret": "ec42e09d5ae0ee0f0816ca151008412a",
"redirectUri": "http://localhost:9078/lastfm/callback"
}
}
]
or explore the schema with an example and live editor/validator
CONFIG_DIR/config.json
{
"clients": [
{
"name": "myLastFmClient",
"enable": true,
"configureAs": "client",
"data": {
"apiKey": "a89cba1569901a0671d5a9875fed4be1",
"secret": "ec42e09d5ae0ee0f0816ca151008412a",
"redirectUri": "http://localhost:9078/lastfm/callback"
},
"type": "lastfm"
}
]
}
or explore the schema with an example and live editor/validator