Lastfm (Endpoint)
This Source enables multi-scrobbler to accept scrobbles from outside applications as if it was a Last.fm server.
Other Uses
- To scrobble to Last.fm, create a Last.fm (Client)
- To monitor and re-scrobble activity from your Last.fm account, create a Last.fm (Source)
URL
If a slug is not provided in configuration then multi-scrobbler will accept Last.fm scrobbles at
http://localhost:9078/2.0/
which is the "standard" Last.fm server path for scrobbling
Use a slug only if you need to setup multiple Last.fm Endpoint sources and cannot use different tokens.
If a slug is used then the URL will be:
http://localhost:9078/api/lastfm/mySlug
Configuration
- ENV
- File
- AIO
| Environmental Variable | Required? | Default | Description |
|---|---|---|---|
LFMENDPOINT_ENABLE | No | Use LFM Endpoint as a Source without any other configuration. Only required if slug/token are not provided as ENVs | |
LFM_SLUG | No | (Optional) The URL suffix to use for accepting LFM scrobbles |
CONFIG/endpointlfm.json
[
{
"name": "myLfm",
"enable": true,
"data": {
"slug": "mySlug"
}
}
]
or explore the schema with an example and live editor/validator
CONFIG_DIR/config.json
{
"sources": [
{
"name": "myLfm",
"enable": true,
"data": {
"slug": "mySlug"
},
"type": "endpointlfm"
}
]
}
or explore the schema with an example and live editor/validator