aetaric/checkrr ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go app called Checkrr that scans a media library for broken or corrupt files, then either just reports them or, if I turn it on, talks to Sonarr and Radarr to remove the bad file and ask for a replacement.
It should let me point it at one or more folders, run checks like ffprobe, file type, magic number, and hashes, then save good file hashes so later scans are much faster. I want a simple config file, a command line mode that can run once or stay running as a service, and support for Docker too. If a file fails, show a clear message and, when enabled, handle the replacement through the right arr service. A basic web page for status would be nice if it fits naturally. Keep the setup straightforward, with sensible defaults and example config files. If you need to look up anything current, check the docs online first.