Files
mediawatcher/README.md
2025-12-08 07:56:46 -05:00

728 B

mediawatcher

mediawatcher is a small Go daemon that:

  1. Watches one or more download directories
  2. Waits for files to finish writing
  3. Classifies them as TV / Movie / Misc / Unknown
  4. Moves them into a structured incoming tree
  5. Optionally rsyncs them to remote media servers
  6. Optionally notifies Sonarr/Radarr (or any HTTP endpoint) to rescan

Build

cd mediawatcher
go build ./cmd/mediawatcher

Config

Copy the example config and edit:

cp mediawatcher.example.yml mediawatcher.yml

Edit watch.dirs, structure.*, sync.targets, and notifier.endpoints.

Run

./mediawatcher -config=mediawatcher.yml

Or as a systemd service (see systemd/mediawatcher.service).