mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 13:11:11 -07:00
stop if transcoding fails. Fixes #533
This commit is contained in:
parent
7d25a4206e
commit
f57b194162
3 changed files with 6 additions and 4 deletions
|
@ -504,7 +504,7 @@ def Transcode_directory(dirName):
|
|||
except:
|
||||
logger.error("Transcoding of video %s has failed" % (file))
|
||||
|
||||
if nzbtomedia.SUBSDIR:
|
||||
if nzbtomedia.SUBSDIR and result == 0:
|
||||
for sub in get_subs(file):
|
||||
name = os.path.splitext(os.path.split(file)[1])[0]
|
||||
subname = os.path.split(sub)[1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue