Hi there,
I want SABnzbd to automatically sort the queue from lowest to highest filesize when an nzb is added. I've already looked at the pre-queue scripts but it doesn't support sorting queue parameters. I use Sonarr and CouchPotato but they don't support adding parameters to the API calls either. I do know that the API does have an option to sort the queue every API call, but there's no way to change the API calls in either Sonarr and CouchPotato. Does anyone know another solution?
Sort queue according to file size when nzb is added
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Sort queue according to file size when nzb is added
I don't think there's a way to do it automated.
You can call the API from the pre-queue script to sort, but then the new NZB will still be added at the end.
I could imagine that you use a pre-queue scrip to give different priorities to different sizes, so for example setting big downloads to always be low priority.
This at least gives you 4 levels of sorting based on size..
https://sabnzbd.org/wiki/scripts/pre-queue-scripts
You can call the API from the pre-queue script to sort, but then the new NZB will still be added at the end.
I could imagine that you use a pre-queue scrip to give different priorities to different sizes, so for example setting big downloads to always be low priority.
This at least gives you 4 levels of sorting based on size..
https://sabnzbd.org/wiki/scripts/pre-queue-scripts
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Sort queue according to file size when nzb is added
Call that API from the command line each x minutes?I do know that the API does have an option to sort the queue every API call, but there's no way to change the API calls in either Sonarr and CouchPotato. Does anyone know another solution?

