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

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
Post Reply
Tensai
Posts: 6
Joined: 31 Jan 2017, 08:42

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

Post by Tensai » 12 Jun 2018, 09:38

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest