added check for pre-existing video files
This commit is contained in:
parent
aa514032f5
commit
5ca6c3861e
2 changed files with 23 additions and 0 deletions
|
|
@ -151,6 +151,11 @@ def main(argv):
|
|||
filemanager.performpostencodefileoperations(
|
||||
show.inputfile, show.outputfile)
|
||||
|
||||
if filemanager.checkduplicates(show.outputfile):
|
||||
actionlogger.info("There is an existing video file"
|
||||
"present for {0}"
|
||||
.format(show.outputfile))
|
||||
|
||||
generallogger.info("Processing finished.")
|
||||
generallogger.info("==========================="
|
||||
"=============\n\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue