Skip to content

Webscrobbler

After installing the Webscrobbler extension open the preferences/settings for it:

  • Under Accounts
    • Add Webhook
      • API URL: [YourMultiScrobblerInstance]/api/webscrobbler EX http://localhost:9078/api/webscrobbler
      • Application name: (whatever you want)

Reload the extension after adding the webhook.

URL Types Supported by Webscrobbler
  • On Firefox - Only FQNs (domain.tld), localhost, and 127.0.0.1 are supported for API URL due to firefox requiring https
  • On Chromium-based Browsers - Any domain will work for API URL
  • All other browsers are untested
Public-Facing Usage

Multi-scrobbler is not designed to be publicly accessible from the internet. To use Webscrobbler outside your local network you should be accessing MS through a VPN or through a reverse proxy with some kind of authentication (though this is still not recommended).

If you would like use multiple WebScrobbler sources they can be matched using a slug at the end of the API URL. This requires using a file-based config.

Example
webscrobbler.json
[
{
"name": "aUserWS",
"clients": [
"client1Maloja"
],
"data": {
"slug": "usera"
}
},
{
"name": "bUserWS",
"clients": [
"client2Maloja"
],
"data": {
"slug": "userb"
}
}
]
  • To use aUserWS source set API URL to http://localhost:9078/api/webscrobbler/usera
  • To use bUserWS source set API URL to http://localhost:9078/api/webscrobbler/userb

See: Webscrobbler API Docs

MS can be configured to only scrobble, or NOT scrobble, from some WS connectors. Use the name of the website from the supported websites or from the Connectors tab in the extension.

Configuration Type

This is configuration for the ENV Config Type.

Environmental Variable Type Default Description
WS_ID string A globally unique ID EX myComponentId
WS_NAME string Value of WS_ID A vanity name EX My Cool Component
WS_ENABLE boolean true Should this component be used?
WS_BLACKLIST string Block scrobbling from specific WebScrobbler Connectors
WS_WHITELIST string Only allow scrobbling from specific WebScrobbler Connectors

Bold/Italic = Required