diff options
| author | jvoisin | 2015-12-02 17:07:19 +0100 |
|---|---|---|
| committer | jvoisin | 2015-12-02 17:22:45 +0100 |
| commit | 80ece3001895ea13d50915a5215fd47e313bab4c (patch) | |
| tree | c5ede43867c5d7fe2af4178b34b0e6dc219f6aac /libmat/exiftool.py | |
| parent | 3cf80e8b5d6faf410e9ad3aad77f23cf6418a587 (diff) | |
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.
Diffstat (limited to 'libmat/exiftool.py')
| -rw-r--r-- | libmat/exiftool.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): | |||
| 9 | """ A generic stripper class using exiftool as backend | 9 | """ A generic stripper class using exiftool as backend |
| 10 | """ | 10 | """ |
| 11 | 11 | ||
| 12 | def __init__(self, filename, parser, mime, backup, is_writable, **kwargs): | 12 | def __init__(self, filename, mime, backup, is_writable, **kwargs): |
| 13 | super(ExiftoolStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs) | 13 | super(ExiftoolStripper, self).__init__(filename, mime, backup, is_writable, **kwargs) |
| 14 | self.allowed = {'ExifTool Version Number', 'File Name', 'Directory', 'File Size', 'File Modification Date/Time', | 14 | self.allowed = {'ExifTool Version Number', 'File Name', 'Directory', 'File Size', 'File Modification Date/Time', |
| 15 | 'File Access Date/Time', 'File Permissions', 'File Type', 'File Type Extension', 'MIME Type', | 15 | 'File Access Date/Time', 'File Permissions', 'File Type', 'File Type Extension', 'MIME Type', |
| 16 | 'Image Width', 'Image Height', 'Image Size', 'File Inode Change Date/Time', 'Megapixels'} | 16 | 'Image Width', 'Image Height', 'Image Size', 'File Inode Change Date/Time', 'Megapixels'} |
