more initial changes
This commit is contained in:
52
mediawatcher.example.yml
Normal file
52
mediawatcher.example.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user