From ea38289dd83b77c596d3dbeb26075075abdefb19 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 21 Apr 2014 20:58:03 -0700 Subject: [PATCH] Fixes issue #27 --- autoProcessTV/autoProcessTV.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoProcessTV/autoProcessTV.py b/autoProcessTV/autoProcessTV.py index c784f374..d9c0244a 100644 --- a/autoProcessTV/autoProcessTV.py +++ b/autoProcessTV/autoProcessTV.py @@ -49,7 +49,7 @@ else: HTTPBasicAuthHandler = urllib2.HTTPBasicAuthHandler -def processEpisode(dir_to_process, org_NZB_name=None): +def processEpisode(dir_to_process, org_NZB_name=None, status=None): # Default values host = "localhost" port = "8081" @@ -117,6 +117,9 @@ def processEpisode(dir_to_process, org_NZB_name=None): if org_NZB_name != None: params['nzbName'] = org_NZB_name + if status != None: + params['failed'] = status + if ssl: protocol = "https://" else: