initial commit

This commit is contained in:
Javis Sullivan
2025-12-07 15:31:14 -05:00
commit 81e1e23066
8 changed files with 85 additions and 0 deletions

41
config.example.yaml Normal file
View File

@@ -0,0 +1,41 @@
watch:
# Directory to watch for new/changed media files
path: "/mnt/ipfsxfs/sabnzbd/downloads/complete"
# Watch subdirectories too
recursive: true
# How long the file size must remain unchanged before it is considered "stable" (seconds)
stable_seconds: 15
# Optional patterns to include (empty means include everything)
include_globs:
- "*.mkv"
- "*.mp4"
- "*.avi"
- "*.flac"
- "*.mp3"
# Optional patterns to exclude
exclude_globs:
- "*.part"
- "*.tmp"
- "*.crdownload"
transfer:
method: "rsync"
rsync:
binary: "/usr/bin/rsync"
ssh_user: "media"
ssh_host: "10.0.0.50"
ssh_port: 22
# Destination directory on remote server
dest_path: "/f2fs_mnt/incoming"
# Extra rsync args (these are good defaults for large media files)
extra_args:
- "--partial"
- "--inplace"
- "--progress"
logging:
level: "info" # "debug" | "info" | "error"