2025-10-20 10:54:29 +10:30
|
|
|
# plexbrainz - scrobble your plex music plays into listenbrainz
|
2025-10-20 10:52:04 +10:30
|
|
|
|
|
|
|
|
## What is this?
|
|
|
|
|
|
|
|
|
|
This is a self-hosted service which provide a webhook for your plex
|
|
|
|
|
server to hit, uploading each music track's title, artist and album
|
2025-10-20 10:54:29 +10:30
|
|
|
to listenbrainz.
|
2025-10-20 10:52:04 +10:30
|
|
|
|
|
|
|
|
It works similarly to https://eavesdrop.fm but is self-hosted, with
|
2025-10-20 10:54:57 +10:30
|
|
|
a single binary that weighs in at <30Mb.
|
2025-10-20 10:52:04 +10:30
|
|
|
|
|
|
|
|
## What do I need?
|
|
|
|
|
|
|
|
|
|
* Docker
|
|
|
|
|
* Your listenbrainz "User Token" (found at https://listenbrainz.org/settings/)
|
2025-10-20 10:54:29 +10:30
|
|
|
* Your Plex username (to ensure only your plays are scrobbled, and not those of other users on your plex server)
|
2025-10-20 10:52:04 +10:30
|
|
|
* The name(s) of your Plex music libraries
|
2025-10-20 10:54:29 +10:30
|
|
|
* A Plex Pass subscription (webhooks are a Plex Pass feature)
|
2025-10-20 10:52:04 +10:30
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
|
|
* Copy the docker-compose.yml from here to a directory on your
|
|
|
|
|
docker host.
|
|
|
|
|
* Change the environment variables to match your account details.
|
|
|
|
|
* If you have multiple music libraries, you can add them separated
|
|
|
|
|
by commas, no spaces around the commas.
|
|
|
|
|
* `docker compose up -d`
|
|
|
|
|
* Check logs with `docker compose logs -f`
|
|
|
|
|
|
|
|
|
|
You can then add the webhook to plex, the config page is at:
|
|
|
|
|
|
|
|
|
|
https://app.plex.tv/desktop/#!/settings/webhooks
|
|
|
|
|
|
|
|
|
|
And the webhook will be something like:
|
|
|
|
|
|
|
|
|
|
http://1.2.3.4:9102/plex
|
|
|
|
|
|
|
|
|
|
Change the IP address to that of your docker host.
|