Commit a81b7658 authored by jvoisin's avatar jvoisin

Make the mandatory metadata warning generic

This should close #95.
parent 6e63e03b
......@@ -14,9 +14,9 @@ class AbstractFFmpegParser(exiftool.ExiftoolParser):
def remove_all(self) -> bool:
if self.meta_key_value_whitelist:
logging.warning('The format of "%s" (video/mp4) has some mandatory '
logging.warning('The format of "%s" (%s) has some mandatory '
'metadata fields; mat2 filled them with standard '
'data.', self.filename)
'data.', self.filename, ', '.join(self.mimetypes))
cmd = [_get_ffmpeg_path(),
'-i', self.filename, # input file
'-y', # overwrite existing output file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment