From bb3febaa9ccb6f4c4358ac617025f336fba7f64c Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Tue, 25 Mar 2014 14:04:45 +1030 Subject: [PATCH] simplify tests for extracted files. fixes #294 --- autoProcess/autoProcessTV.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/autoProcess/autoProcessTV.py b/autoProcess/autoProcessTV.py index 89d0e8df..91634b97 100644 --- a/autoProcess/autoProcessTV.py +++ b/autoProcess/autoProcessTV.py @@ -125,12 +125,11 @@ def processEpisode(dirName, nzbName=None, failed=False, clientAgent=None, inputC # auto-detect fork type fork, params = autoFork() - if (not fork in SICKBEARD_TORRENT) or (clientAgent in ['nzbget','sabnzbd'] and not nzbExtractionBy == "Destination"): + if nzbName != "Manual Run" and (not fork in SICKBEARD_TORRENT or (clientAgent in ['nzbget','sabnzbd'] and not nzbExtractionBy == "Destination")): process_all_exceptions(nzbName.lower(), dirName) nzbName, dirName = converto_to_ascii(nzbName, dirName) - if nzbName != "Manual Run" and not fork in SICKBEARD_TORRENT: - # Now check if movie files exist in destination: + # Now check if movie files exist in destination. Eventually extraction may be done here if nzbExtractionBy == TorrentToMedia video = int(0) for dirpath, dirnames, filenames in os.walk(dirName): for file in filenames: