summaryrefslogtreecommitdiff
path: root/libmat2 (follow)
AgeCommit message (Collapse)Author
2019-05-09Minor code cleanupjvoisin
2019-05-03typofuzzy
2019-05-01Add some verification for "dangerous" tarfilesjvoisin
2019-04-27Handle weird permissions in tar archivesjvoisin
2019-04-27Improve the display of tarfile's members mtimejvoisin
2019-04-27Add support for compressed tar filesjvoisin
2019-04-27Add tar archive supportjvoisin
2019-04-14Add support for xhtml filesjvoisin
2019-03-30Please mypyjvoisin
Apparently, mypy isn't able (yet?) to deal with variables that are changing their types at runtime. Python is wonderful.
2019-03-29libmat2: fix dependency checks for cmd line utilitiesAntoine Tenart
The command line checks for command line utilities are done by trying to access the executables and by throwing an exception when not found. This lead to: - The mat2 cmd line --check-dependencies option failing. - The ffmpeg unit tests failing when ffmpeg isn't installed (even though it's an optional dependency). This patch fixes it. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
2019-03-29libmat2: reshape the dependencies listAntoine Tenart
Invert the keys and values in DEPENDENCIES. It seems more natural to use the key as a key in check_dependencies(), and the value as the value. This also help in preparing for reworking the check_dependencies() helper. Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
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>
2019-03-05Refactor {black,white}list into {block,allow}listBrolf
Closes #96
2019-03-01fix typogeorg
2019-02-27Improve the previous commitjvoisin
- More tests - More documentation - Minor code cleanup
2019-02-27Improve epub supportjvoisin
2019-02-25Document the previous commitjvoisin
2019-02-24In archive-based formats, the `mimetype` file comes firstjvoisin
This should improve epub compatibility, along with other formats as a side-effect
2019-02-23<title> is also an html metadatajvoisin
2019-02-23Fix a bug in css cleaningjvoisin
It's not mandatory to actually have a comment inside comment delimiter, like `/**/`.
2019-02-20Implement epub supportjvoisin
2019-02-10Make the mandatory metadata warning genericjvoisin
This should close #95.
2019-02-09Streamline a bit the previous commitjvoisin
2019-02-09bind mount /etc/ld.so.cache to the sandboxPoncho
without /etc/ld.so.cache available in the sandbox, tests fail on gentoo with: /usr/bin/ffmpeg: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
2019-02-08Improve a bit get_meta for libreoffice filesjvoisin
2019-02-08Add support for html filesjvoisin
2019-02-07Use of the archive refactoring for the office documents toojvoisin
2019-02-04Refactor a bit office get_meta handlingjvoisin
This should make easier to get more metadata from archive-based file formats.
2019-02-03Implement .gif supportjvoisin
2019-02-03Whenever possible, use bwrap for subprocessesintrigeri
This should closes #90
2019-02-02Add support for wmvjvoisin
2018-10-28Add mp4 supportjvoisin
2018-10-25Add support for zip filesjvoisin
2018-10-25Improve archive-based parser's robustness against corrupted embedded filesjvoisin
2018-10-25Implement get_meta() for archivesjvoisin
2018-10-25Minor refactorisation of how we're checking for exiftool's presencejvoisin
2018-10-24Implement lightweight cleaning for jpgjvoisin
2018-10-23Improve type annotation coveragejvoisin
2018-10-23Implement lightweight cleaning for png and tiffjvoisin
2018-10-23Optimize the handling of problematic filesjvoisin
2018-10-22Improve problematic filenames supportjvoisin
2018-10-22Test mat2's reliability wrt. corrupted video filesjvoisin
2018-10-22Implement support for .avi files, via ffmpegjvoisin
- This commit introduces optional dependencies (namely ffmpeg): mat2 will spit a warning when trying to process an .avi file if ffmpeg isn't installed. - Since metadata are obtained via exiftool, this commit also refactors a bit our exfitool wrapper.
2018-10-12Bump mypy typing coveragejvoisin
2018-10-12Refactor lightweight mode implementationjvoisin
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-10-05Improve both the typing and the commentsjvoisin
2018-10-05Hide unsupported extensions in `mat2 -l`jvoisin