mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -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:
|
try:
|
||||||
os.unlink(file)
|
os.unlink(file)
|
||||||
except: pass
|
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
|
if not nzbtomedia.PROCESSOUTPUT and nzbtomedia.DUPLICATE: # We postprocess the original files to CP/SB
|
||||||
newDir = dirName
|
newDir = dirName
|
||||||
bitbucket.close()
|
bitbucket.close()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue