Files
mediawatcher/mediawatcher.example.yml
2025-12-08 07:56:46 -05:00

53 lines
1.1 KiB
YAML

watch:
dirs:
- "/srv/downloads/incoming"
stable_seconds: 15
include_ext:
- ".mkv"
- ".mp4"
- ".avi"
- ".mp3"
- ".flac"
exclude_ext:
- ".part"
- ".tmp"
- ".crdownload"
structure:
movies_dir: "/srv/media/incoming/movies"
tv_dir: "/srv/media/incoming/tv"
misc_dir: "/srv/media/incoming/misc"
unknown_dir: "/srv/media/incoming/unknown"
auto_create: true
sync:
enabled: true
rsync_binary: "/usr/bin/rsync"
targets:
- host: "200:ygg:media::1"
port: 22
user: "media"
dest_base: "/srv/media/incoming"
extra_args:
- "--partial"
- "--inplace"
notifier:
enabled: true
endpoints:
- name: "sonarr"
method: "POST"
url: "http://sonarr.local:8989/api/v3/command"
headers:
X-Api-Key: "YOUR_SONARR_API_KEY"
body: '{"name":"RescanFolders"}'
- name: "radarr"
method: "POST"
url: "http://radarr.local:7878/api/v3/command"
headers:
X-Api-Key: "YOUR_RADARR_API_KEY"
body: '{"name":"RescanFolders"}'
logging:
level: "info"