summaryrefslogtreecommitdiff
path: root/libmat2/audio.py (follow)
AgeCommit message (Collapse)Author
2019-03-23Fix the testsuitejvoisin
2019-03-23libmat2: audio: not all id3 types have a text attributeAntoine Tenart
Not all id3 types have a text attribute (such as mutagen.id3.APIC or mutagen.id3.UFID). This leads to the get_meta helper to crash when trying to access the text attribute of an object which does not have it. Fixes it by checking the text attribute is available before accessing it. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-10-12Bump mypy typing coveragejvoisin
2018-10-11Implement recursive metadata for FLAC filesjvoisin
Since FLAC files can contain covers, it makes sense to parse their metadata
2018-10-11Delete pictures of FLAC filesjvoisin
2018-07-02Improve a bit the formatting of the code thanks to pyflakes3jvoisin
2018-06-22Split the testsuite a bit and add more testsjvoisin
2018-06-12libmat2: audio: add the audio/x-flac mime typeAntoine Tenart
The FLAC parser looks for the 'audio/flac' mime type, but Fedora defines 'audio/x-flac' in /etc/mime.types for FLAC files. Add this mime type to the audio parser. Fixes #36. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2018-05-18Rename some files to simplify packagingjvoisin
- the `src` folder is now `libmat2` - the `main.py` script is now `mat2.py`