Skip to content
Snippets Groups Projects
Commit a81b7658 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Make the mandatory metadata warning generic

This should close #95.
parent 6e63e03b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment