Plex
Find your Plex Token and make note of the URL and Port used to connect to your Plex instance.
Allowed Users and Defaults
Multi-scrobbler will automatically scrobble for these users by default:
- The User authenticated with the Plex Token
- and the Local User
The Local User (PLEX_LOCAL_USER) is how Plex identifies anyone directly accessing the Plex UI from a local IP (who does not need to login).
To allow MS to scrobble for other users use usersAllow or PLEX_USERS_ALLOW (env) from the below configuration docs. However, because you are overriding the default settings you must also explicitly list the authenticated user and the Local User if you want them to also be able to scrobble.
Examples
Defaults
If usersallow and PLEX_USERS_ALLOW are not defined then the Plex Token authenticated User and Local User will be scrobbled for.
Only A Specific User
"usersallow": ["SomeUser"]orPLEX_USERS_ALLOW: SomeUser
Only the Plex user SomeUser will be scrobbled for. The Plex Token authenticated user and the Local User will not be scrobbled for.
A Specific User + Defaults
(Assuming the plex authenticated user is FoxxMD)
"usersallow": ["FoxxMD", "PLEX_LOCAL_USER", "SomeUser"]orPLEX_USERS_ALLOW: FoxxMD,PLEX_LOCAL_USER,SomeUser
The Plex user SomeUser, the Plex Token authenticated user (FoxxMD) and the Local User will be scrobbled for.
Allowed Libraries and Defaults
By default multi-scrobbler will only scrobble media found in Plex libraries that are labelled as Music.
librariesAlloworPLEX_LIBRARIES_ALLOWwill override this
Configuration
- ENV
- File
- AIO
| Environmental Variable | Required? | Default | Description |
|---|---|---|---|
PLEX_URL | Yes | The URL of the Plex server IE http://localhost:32400 | |
PLEX_TOKEN | Yes | The Plex Token to use with the API | |
PLEX_USERS_ALLOW | No | Comma-separated list of usernames (from Plex) to scrobble for | |
PLEX_USERS_BLOCK | No | Comma-separated list of usernames (from Plex) to disallow scrobble for | |
PLEX_DEVICES_ALLOW | No | Comma-separated list of devices to scrobble from | |
PLEX_DEVICES_BLOCK | No | Comma-separated list of devices to disallow scrobbles from | |
PLEX_LIBRARIES_ALLOW | No | Comma-separated list of libraries to allow scrobbles from | |
PLEX_LIBRARIES_BLOCK | No | Comma-separated list of libraries to disallow scrobbles from |
[
{
"name": "MyPlexApi",
"enable": true,
"clients": [],
"data": {
"token": "1234",
"url": "http://192.168.0.120:32400",
"usersAllow": [
"FoxxMD",
"SomeOtherUser"
],
"usersBlock": [
"AnotherUser"
],
"devicesAllow": [
"firefox"
],
"devicesBlock": [
"google-home"
],
"librariesAllow": [
"GoodMusic"
],
"librariesBlock": [
"BadMusic"
]
},
"options": {
"logPayload": true,
"logFilterFailure": "debug",
"ignoreInvalidCert": "false"
}
}
]
or explore the schema with an example and live editor/validator
{
"sources": [
{
"name": "MyPlexApi",
"enable": true,
"clients": [],
"data": {
"token": "1234",
"url": "http://192.168.0.120:32400",
"usersAllow": [
"FoxxMD",
"SomeOtherUser"
],
"usersBlock": [
"AnotherUser"
],
"devicesAllow": [
"firefox"
],
"devicesBlock": [
"google-home"
],
"librariesAllow": [
"GoodMusic"
],
"librariesBlock": [
"BadMusic"
]
},
"options": {
"logPayload": true,
"logFilterFailure": "debug",
"ignoreInvalidCert": "false"
},
"type": "plex"
}
]
}
or explore the schema with an example and live editor/validator