mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-06 05:01:10 -07:00
create unique directory inoutput incase of rename error in sick/couch
This commit is contained in:
parent
8ccb308942
commit
bda80c656a
1 changed files with 3 additions and 0 deletions
|
@ -686,6 +686,9 @@ def Transcode_directory(dirName):
|
|||
if core.OUTPUTVIDEOPATH:
|
||||
newDir = core.OUTPUTVIDEOPATH
|
||||
makeDir(newDir)
|
||||
name = os.path.splitext(os.path.split(dirName)[1])[0]
|
||||
newDir = os.path.join(newDir, name)
|
||||
makeDir(newDir)
|
||||
else:
|
||||
newDir = dirName
|
||||
if platform.system() == 'Windows':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue