diff --git a/autoProcess/autoProcessTV.py b/autoProcess/autoProcessTV.py index 531bfe43..3e32652c 100644 --- a/autoProcess/autoProcessTV.py +++ b/autoProcess/autoProcessTV.py @@ -103,9 +103,14 @@ def processEpisode(dirName, nzbName=None, failed=False): transcode = 0 try: - delete_failed = int(config.get("CouchPotato", "delete_failed")) + delete_failed = int(config.get("SickBeard", "delete_failed")) except (ConfigParser.NoOptionError, ValueError): delete_failed = 0 + try: + delay = float(config.get("SickBeard", "delay")) + except (ConfigParser.NoOptionError, ValueError): + delay = 0 + mediaContainer = (config.get("Extensions", "mediaExtensions")).split(',') minSampleSize = int(config.get("Extensions", "minSampleSize")) @@ -185,6 +190,10 @@ def processEpisode(dirName, nzbName=None, failed=False): url = protocol + host + ":" + port + web_root + "/home/postprocess/processEpisode?" + urllib.urlencode(params) + Logger.info("Waiting for %s seconds to allow CPS to process newly extracted files", str(delay)) + + time.sleep(delay) + Logger.debug("Opening URL: %s", url) try: diff --git a/autoProcessMedia.cfg.sample b/autoProcessMedia.cfg.sample index 471ef186..c15c7a4a 100644 --- a/autoProcessMedia.cfg.sample +++ b/autoProcessMedia.cfg.sample @@ -30,6 +30,7 @@ password = ###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ###### web_root = ssl = 0 +delay = 0 watch_dir = failed_fork = 0 delete_failed = 0 diff --git a/changelog.txt b/changelog.txt index dd178530..4bc3d834 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,16 @@ Change_LOG / History +V8.4 XX/XX/2013 + +Impacts Torrents +Don't include 720p or 1080p as parts for extracting. +Extracts all sub-folders. +Added option to Move files. + +Impacts All +Added option for SickBeard delay (for forks that use 1 minute check. + + V8.3 11/07/2013 Impacts All