mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 19:40:03 -07:00
added option no_extract_failed. Fixes #1129
This commit is contained in:
parent
dcd99da19e
commit
c94731bcbb
11 changed files with 47 additions and 8 deletions
|
@ -79,7 +79,11 @@ class autoProcessTV(object):
|
|||
force = int(cfg.get("force", 0))
|
||||
delete_on = int(cfg.get("delete_on", 0))
|
||||
ignore_subs = int(cfg.get("ignore_subs", 0))
|
||||
extract = int(cfg.get("extract", 0))
|
||||
status = int(failed)
|
||||
if status == 1 and core.NOEXTRACTFAILED:
|
||||
extract = 0
|
||||
else:
|
||||
extract = int(cfg.get("extract", 0))
|
||||
|
||||
if not os.path.isdir(dirName) and os.path.isfile(dirName): # If the input directory is a file, assume single file download and split dir/name.
|
||||
dirName = os.path.split(os.path.normpath(dirName))[0]
|
||||
|
@ -117,7 +121,6 @@ class autoProcessTV(object):
|
|||
flatten(dirName)
|
||||
|
||||
# Check video files for corruption
|
||||
status = int(failed)
|
||||
good_files = 0
|
||||
num_files = 0
|
||||
for video in listMediaFiles(dirName, media=True, audio=False, meta=False, archives=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue