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/misc.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/misc.py')
| -rw-r--r-- | libmat/misc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat/misc.py b/libmat/misc.py index a55b8ed..cc480e5 100644 --- a/libmat/misc.py +++ b/libmat/misc.py | |||
| @@ -11,8 +11,8 @@ class TorrentStripper(parser.GenericParser): | |||
| 11 | of the bencode lib from Petru Paler | 11 | of the bencode lib from Petru Paler |
| 12 | """ | 12 | """ |
| 13 | 13 | ||
| 14 | def __init__(self, filename, parser, mime, backup, is_writable, **kwargs): | 14 | def __init__(self, filename, mime, backup, is_writable, **kwargs): |
| 15 | super(TorrentStripper, self).__init__(filename, parser, mime, backup, is_writable, **kwargs) | 15 | super(TorrentStripper, self).__init__(filename, mime, backup, is_writable, **kwargs) |
| 16 | self.fields = frozenset(['announce', 'info', 'name', 'path', 'piece length', 'pieces', | 16 | self.fields = frozenset(['announce', 'info', 'name', 'path', 'piece length', 'pieces', |
| 17 | 'length', 'files', 'announce-list', 'nodes', 'httpseeds', 'private', 'root hash']) | 17 | 'length', 'files', 'announce-list', 'nodes', 'httpseeds', 'private', 'root hash']) |
| 18 | 18 | ||
