Start Plex scans based on webhook events from Sonarr, Radarr and Lidarr
8.4K
Webhook server to start plex scans initiated by Sonarr, Radarr and Lidarr webhook posts. This will limit the scan to only the media item being added and not the full library.
Docker Hub: https://hub.docker.com/r/bjgeiser/plexscanarr
GitHub: https://github.com/bjgeiser/plexscanarr
http://{listen-address}:{port}POST at http://{listen-address}:{port} of the JSON payload {"path": "plex-path or download-path"} will search for locations to scan within plexConfigure a webhook connector to send events to plexscannar it will then apply any path transformations supplied and search the configured plex server for scans to initiate.
Create config.yaml as defined below.
config.yaml# required
plex-server: http://{plexserver}:32400
# optional
# some plex servers require tokens to access, such as those with multiple local users
# https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/
plex-token: replace with token
# optional
# if your xxarr software uses different file paths for plex and downloads enter conversions here
path-converters:
# UNC windows path to posix path
- download-path: \\10.0.1.1\
plex-path: /mnt/nas/
# windows path to posix path
- download-path: C:\Videos\
plex-path: /mnt/media/Videos
# windows path to windows path
- download-path: C:\Videos\
plex-path: T:\
# posix path to posix path
- download-path: /mnt/downloads/TV
plex-path: /mnt/media/TV
# optional
# server port, will default to 5000
#port: 5000
# optional
# listen address, will default to 0.0.0.0 (any address)
#listen-address: 127.0.0.1
# optional
# Allow webhook events to cancel a currently active scan in order to scan new media faster
# default: false
#preempt-active-scan: true
# optional
# Turn on verbose logging
# default: false
#verbose: true
docker-compose.yamlversion: '3'
services:
plexscannar:
image: bjgeiser/plexscanarr:latest
restart: always
ports:
- 5000:5000
volumes:
- ./config.yaml:/plexscanarr/config.yaml
Content type
Image
Digest
sha256:51221fc37…
Size
27.6 MB
Last updated
over 1 year ago
docker pull bjgeiser/plexscanarr:sha-31e9ee0