Page 1 of 1

[PP-Script] AddNZBs.py - Push downloaded NZB files back to NZBGet

Posted: 12 Jun 2018, 09:38
by Tensai
I would like to share my post-processing script I wrote in order to push downloaded NZB files back to NZBGet.
This is my own answer to an earlier post.

AddNZBs.py

Add downloaded NZB files to NZBGet - An Extension Script for NZBGet

If the current NZB download being processed by this script contains NZB files they will be pushed to the NZBGet queue.

If the NZB file names do include an unpack password in the format nzbname{{password}}.nzb the password will be passed over to NZBGet when pushing the NZB file to NZBGet. If the NZB file names do not include an unpack password but the currently processed NZB download was assigned an unpack password, this password will be passed over to NZBGet instead.

If a category was assigned to the currently processed NZB download, this category will be passed over to NZBGet as well.

After the NZB files have been pushed to NZBGet they will be deleted from the download directory and if this results in an empty directory it will be deleted as well.

NOTE: This script requires Python to be installed on the system running NZBGet.

Get the script here: https://github.com/Tensai75/AddNZBs.py

Regards, Tensai