Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!




NZBGet - How to cha...
 
Share:
Notifications
Clear all

NZBGet - How to change the post-processor for all files in the Queue

1 Posts
1 Users
0 Likes
1,942 Views
 Hans
(@hans)
Famed Member Admin
Joined: 10 years ago
Posts: 2459
Topic starter  

I made a booboo and all my downloads are not set to post-processing with nzbToNzbDrone.py.
I discovered that was a bad choice and all files so we set to NO post processing. How do we do this in bulk?

Step 1 - SSH in to your QNAP and go to the NZBGet QPKG directory

cd /share/MD0_DATA/.qpkg/NZBGet/nzbget

Step 2 - Determine the maximum ID in the queue

./nzbget -L G

This will list a long list, and the last record will look something like this:

[17380] the.file.you.wanted.downloaded ....

17380 is some random number, either way: remember the number you observed in your list.

Step 3 - Mass/Bulk update of the NZBGet Queue

Next step is that we are going to use the command-line approach to update the queue. See NZBGet Command-line reference for more details.

In short:
We are going to EDIT (-E) the Groups (G) and set post-processing (O ... Ooooh, so not zero) "nzbToMedia/nzbToNzbDrone.py:=no" for the ID's 1 to 20,000. That last number is basically the umber I found in my queue and rounded it up, so 17,380 became 20,000.

The command line statement:

./nzbget -E G O "nzbToMedia/nzbToNzbDrone.py:=no" 1-20000

This will set all post-processing to "nzbToNzbDrone" to "no" in a matter of seconds.


   
ReplyQuote

Like what you see and you'd like to help out? 

The best way to help is of course by assisting others with their questions here in the forum, but you can also help us out in other ways:

- Do your shopping at Amazon, it will not cost you anything extra but may generate a small commission for us,
- send a cup of coffee through PayPal ($5, $10, $20, or custom amount),
- become a Patreon,
- donate BitCoin (BTC), or BitCoinCash (BCH).

Share: