Add note to check error.csv
This commit is contained in:
parent
c71a71d764
commit
1b26cb5605
@ -4,6 +4,8 @@ import subprocess
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
import os
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
|
|
||||||
# ffmpeg wrapper
|
# ffmpeg wrapper
|
||||||
@ -234,3 +236,8 @@ else:
|
|||||||
|
|
||||||
# check output file for valid duration
|
# check output file for valid duration
|
||||||
valid_duration(outputfile, "OUTPUT")
|
valid_duration(outputfile, "OUTPUT")
|
||||||
|
|
||||||
|
if os.path.isfile("error.csv"):
|
||||||
|
print(
|
||||||
|
"Some media might have errors. Please check the error.csv file in this directory"
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user