summaryrefslogtreecommitdiff
path: root/libmat2/audio.py (follow)
AgeCommit message (Collapse)Author
2023-11-13Raise a ValueError for invalid FLAC files to please mypyjvoisin
2023-11-13parsers: Inherit the sandbox option when creating additional parsersRomain Vigier
2023-05-03Use proper type annotations instead of commentsjvoisin
2023-01-28Fix the type annotationsjvoisin
2022-08-28Simplify the typing annotationsjvoisin
2021-12-19Increase audio processing robustnessjvoisin
2021-12-18Add a check for weird audio files, instead of crashingjvoisin
2021-12-14Make mat2 more robust wrt. weird audio filesjvoisin
2021-12-13Increase a bit the robustness of mat2jvoisin
Those issues were found via https://github.com/google/atheris
2021-04-24Add support for AIFF filesjvoisin
This should close #151
2020-07-22Fix a crash affecting some mp3 filesjvoisin
2020-01-01Add support for wav filesjvoisin
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`