Note: this repo is a fork of the original github project made by @hugbug.
- NZBGet v23+ and Python 3.8+
- Legacy NZBGet v22: use v2.0 release
- Python 2.x: use legacy version 1.7 here
Password detection script for NZBGet.
Authors:
- JVM jvmed@users.sourceforge.net
- Andrey Prygunkov hugbug@users.sourceforge.net
- Clinton Hall clintonhall@users.sourceforge.net
- get39678
- prinz2311
Detects nzbs with password protected .rar archive.
If a password is detected the download is marked as bad or paused. This status informs other scripts about failure and allows NZBGet to choose another duplicate for download (if available).
- Download the newest version from releases page.
- Unpack into pp-scripts directory. Your pp-scripts directory now should have folder "PasswordDetector" with file "main.py";
- Open settings tab in NZBGet web-interface and define settings for PasswordDetector;
- Save changes and restart NZBGet.
Action if password found (Pause, Mark Bad).
- Pause allows to define password. Once resumed, password detection skipped to allow NZB to complete.
- Mark Bad removes the download from queue and (if option "DeleteCleanupDisk" is active) the downloaded files are deleted from disk. If duplicate handling is active (option "DupeCheck") then another duplicate is chosen for download if available.
The status "FAILURE/BAD" is passed to other scripts and informs them about failure.
- When the nzb is added to the queue (
NZB_ADDED): rar-archive file lists are checked as soon as the nzb is added to the queue. - During download (
FILE_DOWNLOADED): rar-archive volumes are checked as they arrive. - After download (
NZB_DOWNLOADED): final check before unpacking begins.
This script is part of the NZBGet project.