qbit-guard ghcr.io/gengines/qbit-guard https://github.com/GEngines/qbit-guard/pkgs/container/qbit-guard bridge sh false https://github.com/gengines/qbit-guard/issues https://github.com/GEngines/qbit-guard A zero-dependency Python guard for qBittorrent that blocks pre-air TV episodes (Sonarr), deletes ISO/BDMV-only torrents, and auto-blocklists bad releases in Sonarr/Radarr (with dedupe + queue failover). Runs on "torrent added", fetches metadata safely, and logs everything to stdout. Key Features: Pre-air gate (Sonarr): Stops new TV torrents, checks airDateUtc with configurable grace periods TMDB integration (Radarr): Verifies movie digital release dates to prevent pre-release downloads Extension policy: Allow/Block by file extension with configurable strategies Selective file unchecking: Optionally uncheck blocked files instead of deleting entire torrents ISO/BDMV cleaner: Removes disc-image-only torrents that lack keepable video content Smart blocklisting: Blocklists in Sonarr/Radarr before deletion using deduped history Internet cross-verification: Optional TVmaze, TheTVDB, and/or TMDB API integration Zero dependencies: No external libraries, just Python 3.8+ stdlib Container-friendly: All configuration via environment variables, logs to stdout Downloaders: Tools: https://raw.githubusercontent.com/GEngines/unraid-templates/refs/heads/main/qbit-guard/qbit-guard.xml https://raw.githubusercontent.com/GEngines/qbit-guard/refs/heads/main/img/qbit-guard-icon.png --restart unless-stopped 1756373288