mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
simplify tests for extracted files. fixes #294
This commit is contained in:
parent
8242700032
commit
bb3febaa9c
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue