Page 1 of 1

[Windows] Pre-Queue script to Force selected downloads

Posted: April 8th, 2014, 10:43 pm
by gtalnz
I may be the only person who'll use this but thought I'd share anyway.

I have a data cap with my ISP but get unlimited downloads between certain hours, so I have Sabnzbd scheduled to only download during those hours.
For some files though, I'd like it to download them immediately (e.g. tv shows where spoilers are rampant on social media).

So this script, called ForceShow, allows me to do this. As inputs to the script there are two text files, FScategories.txt and FSdemo.txt
FScategories.txt contains the categories you want to use the script in (this is to prevent movies matching where you only want a tv show for example).
FSdemo.txt is an example for a category called 'demo'. Within it are the search terms for that category. Any downloads added to Sabnzbd with the category of 'demo' and which match one of these search terms will be set to 'Force' priority and will download immediately.

As an example, if you want to use it for a show called Playing With Thrones and have a category in Sabnzbd called 'tv', you would:
1) Add a line to FScategories.txt which just says 'tv'
2) Create a file called FStv.txt
3) Add a line to FStv.txt with a search term, e.g. 'thrones'

I am a very amateur coder so please be nice ;)

Link: https://www.dropbox.com/sh/vzl4sk8tehi5 ... /ForceShow

Re: [Windows] Pre-Queue script to Force selected downloads

Posted: November 8th, 2019, 3:15 am
by Lilaine
Thank you very much for sharing the information.

Re: [Windows] Pre-Queue script to Force selected downloads

Posted: April 11th, 2020, 6:37 am
by ErikBrown
Thanks for the script. What about making the source available? I would also like to write a script and it would be very useful to have a script like yours as a sample.