Search found 4 matches

by adic26
February 8th, 2017, 1:37 am
Forum: General Help
Topic: Sickbeard to Sab - Different Category based on regex
Replies: 6
Views: 2792

Re: Sickbeard to Sab - Different Category based on regex

My follow up question would be, how does Sab know to run this part of pre-queue script? According to WIKI - I can add this script in my 'Post-Processing Scripts Folder' , but how does SAB know to execute this particular script as PRE-queue?
by adic26
February 7th, 2017, 2:55 pm
Forum: General Help
Topic: Sickbeard to Sab - Different Category based on regex
Replies: 6
Views: 2792

Re: Sickbeard to Sab - Different Category based on regex

Thanks jcfp. Corrected Script: #!/usr/bin/env python import sys import re try: (scriptname, nzbname, postprocflags, category, script, prio, downloadsize, grouplist, showname, season, episodenumber, episodename) = sys.argv nzbname = str(nzbname) category = str(category) except: sys.exit(1) # exit wit...
by adic26
February 7th, 2017, 11:50 am
Forum: General Help
Topic: Sickbeard to Sab - Different Category based on regex
Replies: 6
Views: 2792

Re: Sickbeard to Sab - Different Category based on regex

Thanks safihre. Can you help me Validate whether this script makes sense part of Pre-Queue? import sys import re try: (scriptname, nzbname, postprocflags, category, script, prio, downloadsize, grouplist, showname, season, episodenumber, episodename) = sys.argv nzbname = str(nzbname) except: sys.exit...
by adic26
February 7th, 2017, 12:42 am
Forum: General Help
Topic: Sickbeard to Sab - Different Category based on regex
Replies: 6
Views: 2792

Sickbeard to Sab - Different Category based on regex

Apologies in advance if this was asked before as I couldn't find it. On the basis of title of the show or some custom regex, is there anyway I can setup a different category in Sabnzbd? Mostly my Sickbeard sends all my shows with the 'tv' category and for all intents and purposes that works great. H...