fleep-py icon indicating copy to clipboard operation
fleep-py copied to clipboard

File format determination library for Python

Results 17 fleep-py issues
Sort by recently updated
recently updated
newest added

I was surprised when i found a correct mp3 file, that is not recognized by fleep. It turned out there are 2 possible headers for mp3. So what i did...

I am using the following mp3 [file](https://drive.google.com/file/d/1DWPv1Q5DtDgoSwDjP8DaC9yMZBrbyXGi/view?usp=sharing) but fleep returns an empty list for type or mime or extension for this file ``` info = fleep.get(open("test.mp3", "rb").read()) assert info.type ==...

At Gentoo, we prefer to have the testsuite available to test the package across python versions. As the testsuite isn't shipped in PyPi tarballs, could you tag the version in...

The Lame encoder uses a different number than the one provided so a falsy empty list is returned. `FF FB 90 64` with no offset [MP3 Info Tag revision](http://gabriel.mp3-tech.org/mp3infotag.html) Since...

I tested this on some NEF (Nikon Electric Format) files, it detects them as raster images and raw types. However, NEF isn't in any of the extensions listed.

Some browers and apps detect WAV files with MIME type as 'audio/wave', not just 'audio/wav'. I think you should include it too. https://github.com/floyernick/fleep-py/blob/994bc2c274482d80ab13d89d8f7343eb316d3e44/fleep/data.json#L43

I have the following code ``` with open("back number - sister.mp3", "rb") as file: info = fleep.get(file.read(128)) print(info.type) print(info.extension) print(info.mime) ``` But the output shows nothing ``` [] [] []...

Pure .m4a audio files show MP4 as file extension: ``` with open(full_file, "rb") as f: info = fleep.get(f.read(128)) print(info.type, info.extension, info.mime, file) ``` ['video'] ['mp4'] ['video/mp4'] Bob Marley & The...

The mime type for Microsoft word looks wrong: fleep\data.json: line 70 {"type": "document", "extension": "doc", "mime": "application/vnd.ms-excel", "offset": 0, "signature": ["D0 CF 11 E0 A1 B1 1A E1", "50 4B...