1
0
mirror of synced 2024-11-25 18:54:22 +01:00

Make the mandatory metadata warning generic

This should close #95.
This commit is contained in:
jvoisin 2019-02-10 21:46:13 +01:00
parent 6e63e03b86
commit a81b7658a8

View File

@ -14,9 +14,9 @@ class AbstractFFmpegParser(exiftool.ExiftoolParser):
def remove_all(self) -> bool: def remove_all(self) -> bool:
if self.meta_key_value_whitelist: 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 ' 'metadata fields; mat2 filled them with standard '
'data.', self.filename) 'data.', self.filename, ', '.join(self.mimetypes))
cmd = [_get_ffmpeg_path(), cmd = [_get_ffmpeg_path(),
'-i', self.filename, # input file '-i', self.filename, # input file
'-y', # overwrite existing output file '-y', # overwrite existing output file