diff options
| author | jvoisin | 2015-07-28 23:18:25 +0200 |
|---|---|---|
| committer | jvoisin | 2015-07-28 23:18:25 +0200 |
| commit | d397ab99d1da7eba5db2dc14c68dec9bcd479b8d (patch) | |
| tree | 4ff0b70007bd746d0c8968d3fd1301d8ead0dbd4 /libmat/strippers.py | |
| parent | 6ba3e3f20d7d52895bc44f9fc35b068cfce47133 (diff) | |
Distance MAT a bit more from hachoir
Diffstat (limited to 'libmat/strippers.py')
| -rw-r--r-- | libmat/strippers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmat/strippers.py b/libmat/strippers.py index 008442e..d9a8706 100644 --- a/libmat/strippers.py +++ b/libmat/strippers.py | |||
| @@ -54,7 +54,9 @@ if pdfSupport: | |||
| 54 | try: | 54 | try: |
| 55 | import mutagen | 55 | import mutagen |
| 56 | STRIPPERS['audio/x-flac'] = audio.FlacStripper | 56 | STRIPPERS['audio/x-flac'] = audio.FlacStripper |
| 57 | STRIPPERS['audio/flac'] = audio.FlacStripper | ||
| 57 | STRIPPERS['audio/vorbis'] = audio.OggStripper | 58 | STRIPPERS['audio/vorbis'] = audio.OggStripper |
| 59 | STRIPPERS['audio/ogg'] = audio.OggStripper | ||
| 58 | STRIPPERS['audio/mpeg'] = audio.MpegAudioStripper | 60 | STRIPPERS['audio/mpeg'] = audio.MpegAudioStripper |
| 59 | except ImportError: | 61 | except ImportError: |
| 60 | logging.info('Unable to import python-mutagen: limited audio format support') | 62 | logging.info('Unable to import python-mutagen: limited audio format support') |
