# 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 ```bash cd mediawatcher go build ./cmd/mediawatcher ``` ## Config Copy the example config and edit: ```bash cp mediawatcher.example.yml mediawatcher.yml ``` Edit `watch.dirs`, `structure.*`, `sync.targets`, and `notifier.endpoints`. ## Run ```bash ./mediawatcher -config=mediawatcher.yml ``` Or as a systemd service (see `systemd/mediawatcher.service`).