diff --git a/NZBGetPostProcess.py b/NZBGetPostProcess.py index 25ef43d8..9c4ebb74 100644 --- a/NZBGetPostProcess.py +++ b/NZBGetPostProcess.py @@ -143,13 +143,14 @@ print "[WARNING] File conversion failed!" #DEBUG#print "%d of %d files converted", (converted, attempted) - # Couc if (category.lower() == cateories[0]): #DEBUG#print "Sickbeard Processing Activated" autoProcessTV.processEpisode(path, settings, nzb) + sys.exit(POSTPROCESS_SUCCESS) elif (category.lower() == cateories[1]): #DEBUG#print "CouchPotato Processing Activated" autoProcessMovie.process(path, settings, nzb, status) + sys.exit(POSTPROCESS_SUCCESS) elif (category.lower() == cateories[2]): #DEBUG#print "Sonarr Processing Activated" #Example:curl http://localhost:8989/api/command -X POST -d '{"name": "downloadedepisodesscan"}' --header "X-Api-Key:XXXXXXXXXXX"