Different Download/Extraction Directories (depending on NZB size)

Want something added? Ask for it here.
Post Reply
live4ever
Newbie
Newbie
Posts: 1
Joined: February 5th, 2018, 1:38 pm

Different Download/Extraction Directories (depending on NZB size)

Post by live4ever »

Not sure if this has been requested before but it’d be useful if sab could auto choose alternate directories (dl/extract) based on the size of the NZB.

For example, if the NZB is greater than 50GB
-set directory to a large SATA multi TB drive
if the NZB is less than 50GB
-set directory to a smaller NVME multi GB drive or a RAM drive

Thanks for considering.
User avatar
sander
Release Testers
Release Testers
Posts: 8823
Joined: January 22nd, 2008, 2:22 pm

Re: Different Download/Extraction Directories (depending on NZB size)

Post by sander »

I think you can:

Create two categories
BIG, pointing to SATA
SMALL, pointing to NVME

Write a pre-queue script that assigns category based on size. See https://sabnzbd.org/wiki/scripts/pre-queue-scripts
User avatar
safihre
Administrator
Administrator
Posts: 5357
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Different Download/Extraction Directories (depending on NZB size)

Post by safihre »

Indeed, the example script on the page sander links has exactly what you need. Just instead of priority, you can set a category.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply