1
0
mirror of synced 2024-05-29 09:28:02 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
jvoisin
fa7d18784c Do a pylint pass 2018-05-16 22:36:59 +02:00
jvoisin
effe68f08f The CLI shouldn't display unsupported file extensions 2018-05-16 22:00:37 +02:00
jvoisin
7afff93e9c Fix the build 2018-05-16 00:08:45 +02:00
jvoisin
7b0a27ce76 Don't process unsupported filenames with a known mimetype 2018-05-15 23:29:04 +02:00
jvoisin
94afdd970f Don't mess with rdf for now 2018-05-15 23:28:51 +02:00
jvoisin
ef956e84d6 Remove a leftover pdf metadata 2018-05-14 22:44:17 +02:00
jvoisin
b02d72887a Test for faulty files, and document how MAT2 is behaving wrt. them 2018-05-06 21:58:31 +02:00
jvoisin
c4271715e4 Use full path to call exiftool 2018-04-30 23:57:05 +02:00
jvoisin
23bc7e8f5f Rework the way we're outputing files 2018-04-30 23:46:37 +02:00
jvoisin
2b1b075a8f In mimetype's world, there is no such thing as image/bmp 2018-04-26 21:50:18 +02:00
jvoisin
cfc3a58550 Add a test for odg 2018-04-23 00:28:36 +02:00
jvoisin
0fa184cb6f Test .odf support 2018-04-23 00:25:06 +02:00
jvoisin
9e485c0dad Clean up the torrent implementation 2018-04-22 23:48:01 +02:00
jvoisin
57bf89e035 Add support for torrent files cleaning 2018-04-22 22:02:00 +02:00
jvoisin
e34bc19f71 Add support for BMP
To be completely honest, BMP have no metadata,
but we still add it, just in case™
2018-04-16 22:27:29 +02:00
jvoisin
4b92bef219 Don't override the quality of jpg images 2018-04-16 22:24:41 +02:00
jvoisin
96299c6a53 Add lightweight processing for PDF 2018-04-14 21:23:31 +02:00
jvoisin
7ec1eff96e Improve the way we parse/display pdf metadata 2018-04-11 23:20:59 +02:00
jvoisin
0239ab3b6a Add some white lines to make the code more compliant 2018-04-04 23:21:48 +02:00
jvoisin
9fa76c4c20 Remove some unused imports 2018-04-04 23:18:38 +02:00
jvoisin
4ee091d833 Improve get_meta in various ways
- Normalize the case
- Strip \00, \r, space and \n
- Flatten metadata lists
- Add tests for audio files
2018-04-04 21:59:46 +02:00
jvoisin
463c0b62a1 Fix a typo spotted by @doobry in get_meta for zip-based files 2018-04-03 23:59:02 +02:00
jvoisin
afeb3753a8 Improve the cli
- Implement the `-l` option
- The help is now more awesome
2018-04-03 23:57:13 +02:00
jvoisin
1d6559596d Apparently, image/jpg isn't correct, image/jpeg is 2018-04-03 23:56:39 +02:00
Loic Dachary
76f25212d1 get_parse needs to explore subclasses recusively 2018-04-03 21:27:38 +02:00
jvoisin
04a0032e9f Add some comments 2018-04-02 23:40:08 +02:00
jvoisin
f5753dec40 Clean up the code for PDF handling 2018-04-02 23:36:56 +02:00
jvoisin
721ee78d15 Fix a mistake wrt. office handling 2018-04-02 23:35:03 +02:00
jvoisin
23bd22b305 Add more typing hints 2018-04-02 19:11:59 +02:00
jvoisin
6868f20065 parser_factory now returns the mtype too 2018-04-02 17:36:26 +02:00
jvoisin
9e7a4bd217 Implement support in get_meta for deep meta in office-related files 2018-04-01 15:08:38 +02:00
jvoisin
27beda354d Move every image-related parser into a single file 2018-04-01 12:30:00 +02:00
jvoisin
711347c87f AbstractParser is an abstract class 2018-04-01 12:06:50 +02:00
jvoisin
eac51dbc99 Refactor office document handling 2018-04-01 01:04:06 +02:00
jvoisin
2d7c703c52 Add support for .tiff files 2018-04-01 00:43:36 +02:00
jvoisin
c186fc4292 Clean deep metadata for zip files 2018-04-01 00:17:06 +02:00
jvoisin
fb5956bd6b Add application/rdf+xml to harmless mimetypes 2018-03-31 23:09:15 +02:00
jvoisin
88fcd4071d Support even more libreoffice files 2018-03-31 21:22:16 +02:00
jvoisin
12b3b39d4d Add support for .odt 2018-03-31 21:20:21 +02:00
jvoisin
1ee936420c Display docx metadata 2018-03-31 21:16:02 +02:00
jvoisin
8bd083ce51 Support python3.5 2018-03-31 15:57:14 +02:00
jvoisin
865ad181ae Add support for docx 2018-03-31 15:47:06 +02:00
jvoisin
302a5ea002 Add a parser for harmless fileformats 2018-03-31 15:46:50 +02:00
jvoisin
f391c9603c Change a bit the source code organisation 2018-03-31 15:46:17 +02:00
jvoisin
e313ddb721 Add gitlab-ci 2018-03-27 20:42:13 +02:00
jvoisin
aa893e9d61 Simplify a bit MP3 handling 2018-03-25 16:31:21 +02:00
jvoisin
2eb68928d5 FLAC support 2018-03-25 16:20:45 +02:00
jvoisin
19a8fd97aa Implement mp3 and ogg support 2018-03-25 16:17:41 +02:00
jvoisin
4fa490d941 Remove a leftover debug message 2018-03-25 15:09:34 +02:00
jvoisin
d4d6f31655 Add support for jpeg 2018-03-25 15:09:12 +02:00