mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 21:21:12 -07:00
don't process output when no transcoding needed. Fixes #721
This commit is contained in:
parent
ee6163f909
commit
b6c5422ce7
1 changed files with 3 additions and 0 deletions
|
@ -767,6 +767,9 @@ def Transcode_directory(dirName):
|
|||
try:
|
||||
os.unlink(file)
|
||||
except: pass
|
||||
if not os.listdir(newDir): #this is an empty directory and we didn't transcode into it.
|
||||
os.rmdir(newDir)
|
||||
newDir = dirname
|
||||
if not nzbtomedia.PROCESSOUTPUT and nzbtomedia.DUPLICATE: # We postprocess the original files to CP/SB
|
||||
newDir = dirName
|
||||
bitbucket.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue