From 80ece3001895ea13d50915a5215fd47e313bab4c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 2 Dec 2015 17:07:19 +0100 Subject: Remove hachoir from MAT. This (huge) commit removes completely hachoir from MAT. Audio files are now processed with mutagen, and images with exiftool, since the main python imaging library (PIL) isn't super-great to deal with metadata (and damaged/non-standard files). Package maintainer should change the dependencies to reflect this. --- libmat/exiftool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmat/exiftool.py') diff --git a/libmat/exiftool.py b/libmat/exiftool.py index 07ef06b..ef81ed3 100644 --- a/libmat/exiftool.py +++ b/libmat/exiftool.py @@ -9,8 +9,8 @@ class ExiftoolStripper(parser.GenericParser): """ A generic stripper class using exiftool as backend """ - def __init__(self, filename, parser, mime, backup, is_writable, **kwargs): - super(ExiftoolStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs) + def __init__(self, filename, mime, backup, is_writable, **kwargs): + super(ExiftoolStripper, self).__init__(filename, mime, backup, is_writable, **kwargs) self.allowed = {'ExifTool Version Number', 'File Name', 'Directory', 'File Size', 'File Modification Date/Time', 'File Access Date/Time', 'File Permissions', 'File Type', 'File Type Extension', 'MIME Type', 'Image Width', 'Image Height', 'Image Size', 'File Inode Change Date/Time', 'Megapixels'} -- cgit v1.3