121 lines
4.5 KiB
YAML
121 lines
4.5 KiB
YAML
# =============================================================================
|
|
# Media Automator - Configuration
|
|
# Fill in all values marked with < > before running
|
|
# =============================================================================
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# qBittorrent (Mint VM instance - private trackers)
|
|
# -----------------------------------------------------------------------------
|
|
qbittorrent:
|
|
host: "<MINT_VM_IP>" # e.g. 192.168.1.50
|
|
port: 8080
|
|
username: "<QBIT_USERNAME>"
|
|
password: "<QBIT_PASSWORD>"
|
|
# Category names - must match exactly what's configured in qBittorrent
|
|
category_downloading: "1 - downloading"
|
|
category_copying: "2 - copying"
|
|
category_seeding: "3 - seeding"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Whisparr
|
|
# -----------------------------------------------------------------------------
|
|
whisparr:
|
|
host: "<LXC_OR_DOCKER_IP>" # e.g. 192.168.1.100
|
|
port: 6969
|
|
api_key: "<WHISPARR_API_KEY>"
|
|
# How long to wait (seconds) for Whisparr to match files before giving up
|
|
import_timeout: 120
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Stash
|
|
# -----------------------------------------------------------------------------
|
|
stash:
|
|
host: "<LXC_OR_DOCKER_IP>" # e.g. 192.168.1.100
|
|
port: 9999
|
|
api_key: "<STASH_API_KEY>"
|
|
stashdb_endpoint: "https://stashdb.org/graphql"
|
|
# How long to poll (seconds) for scan/identify jobs to complete
|
|
job_timeout: 600
|
|
job_poll_interval: 5
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Discord Notifications
|
|
# -----------------------------------------------------------------------------
|
|
discord:
|
|
webhook_url: "<DISCORD_WEBHOOK_URL>"
|
|
# Minimum level to notify: DEBUG, INFO, WARNING, ERROR
|
|
notify_level: "INFO"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Paths (as seen from the automator container / LXC)
|
|
# -----------------------------------------------------------------------------
|
|
paths:
|
|
# Where the transient "ready for copy" folder is (LXC/NFS view of Mint SSD)
|
|
transient_dir: "/mnt/ssd1/transfer/2 - ready for copy"
|
|
|
|
# namer subfolders (base dir + subdirs namer uses)
|
|
namer_base: "/mnt/ssd3/namer"
|
|
namer_watch: "/mnt/ssd3/namer/watch"
|
|
namer_work: "/mnt/ssd3/namer/work"
|
|
namer_renamed: "/mnt/ssd3/namer/renamed"
|
|
namer_failed: "/mnt/ssd3/namer/failed"
|
|
|
|
# Where Whisparr picks up files for import
|
|
whisparr_import: "/pool/other/root/import"
|
|
|
|
# Where Stash stores its library (failed namer files land here)
|
|
stash_library: "/pool/other/root/stash"
|
|
|
|
# Where the rename-file-on-update plugin outputs renamed files
|
|
stash_temp: "/pool/other/root/stash-temp"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Disk Space Management
|
|
# -----------------------------------------------------------------------------
|
|
disk_space:
|
|
# Minimum free space (GB) required on the namer SSD before copying a torrent
|
|
namer_ssd_min_free_gb: 10
|
|
# Minimum free space (GB) required on the whisparr import SSD
|
|
import_min_free_gb: 5
|
|
# How often (seconds) to re-check space when paused waiting for room
|
|
space_check_interval: 60
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Timing / Polling
|
|
# -----------------------------------------------------------------------------
|
|
timing:
|
|
# How often (seconds) the main loop polls qBittorrent for completed torrents
|
|
qbit_poll_interval: 15
|
|
# How long (seconds) a file in stash-temp must be stable before we move it
|
|
stash_temp_settle_seconds: 30
|
|
# How long (seconds) to wait for category change + file move in qBit
|
|
qbit_move_timeout: 120
|
|
# How often (seconds) to check if qBit has finished moving files
|
|
qbit_move_poll_interval: 3
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Web UI
|
|
# -----------------------------------------------------------------------------
|
|
webui:
|
|
port: 8888
|
|
# How many completed items to keep in the history log
|
|
history_size: 100
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# File Filtering
|
|
# Extensions we treat as video files (everything else is ignored)
|
|
# -----------------------------------------------------------------------------
|
|
video_extensions:
|
|
- .mp4
|
|
- .mkv
|
|
- .avi
|
|
- .mov
|
|
- .wmv
|
|
- .flv
|
|
- .m4v
|
|
- .ts
|
|
- .m2ts
|
|
- .webm
|
|
- .divx
|
|
- .mpg
|
|
- .mpeg
|