more initial changes

This commit is contained in:
Javis Sullivan
2025-12-08 07:56:46 -05:00
parent 0e0fe0e37c
commit 4bed19ab73
14 changed files with 701 additions and 32 deletions

35
README.md Normal file
View File

@@ -0,0 +1,35 @@
# 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`).