From 1b26cb5605d3a288255738a833dc611b8a18e23a Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sat, 17 Dec 2022 16:32:13 +0100 Subject: [PATCH] Add note to check error.csv --- easyffmpeg/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/easyffmpeg/main.py b/easyffmpeg/main.py index 8b884160..537d6df5 100755 --- a/easyffmpeg/main.py +++ b/easyffmpeg/main.py @@ -4,6 +4,8 @@ import subprocess import json +import os + import csv # ffmpeg wrapper @@ -234,3 +236,8 @@ else: # check output file for valid duration 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" + )