Plex webhook to mark series and movies as watched on BetaSeries
8.4K
Plex webhook to mark series and movies as watched on BetaSeries.
Here are some snippets to help get started creating a docker container.
docker create \
--name=plex-betaseries-webhook \
-h plex-betaseries-webhook \
-e SERVER_URL=https://my.plex.webhook \
-e BETASERIES_CLIENTID=xxxxxxxxxxxx \
-e BETASERIES_CLIENTSECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
-p 12000:12000 \
--restart unless-stopped \
thilas/plex-betaseries-webhook
version: "3.8"
services:
plex-betaseries-webhook:
image: thilas/plex-betaseries-webhook
container_name: plex-betaseries-webhook
hostname: plex-betaseries-webhook
environment:
- SERVER_URL=https://my.plex.webhook
- BETASERIES_CLIENTID=xxxxxxxxxxxx
- BETASERIES_CLIENTSECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ports:
- 12000:12000
restart: unless-stopped
| Parameter | Description |
|---|---|
-e SERVER_URL=xxx | Public HTTPS url to access the webhook |
-e BETASERIES_CLIENTID=xxx | BetaSeries client id |
-e BETASERIES_CLIENTSECRET=xxx | BetaSeries client secret |
-p 12000:12000 | Plex webhook port |
The public url is expected to be forwarded to the container on the exposed port. And it must be using HTTPS in order to be able to authenticate on Betaseries.
A health check is defined by default in order for docker to monitor the container's health status using the dedicated endpoint: http://localhost:12000/health.
In order to configure the Plex webhook, its url must be obtained thanks to the following steps:
The url will look like <public url>/?accessToken=xxxxxxxxxxxx and can be used as a Plex webhook.
docker exec -it plex-betaseries-webhook /bin/bashdocker logs -f plex-betaseries-webhookHere are some instructions to update an existing container.
docker pull thilas/plex-betaseries-webhookdocker stop plex-betaseries-webhookdocker rm plex-betaseries-webhookdocker start plex-betaseries-webhookdocker image prunedocker-compose pull
docker-compose pull plex-betaseries-webhookdocker-compose up -d
docker-compose up -d plex-betaseries-webhookdocker image pruneContent type
Image
Digest
sha256:c8c7e6191…
Size
65 MB
Last updated
7 days ago
docker pull thilas/plex-betaseries-webhook