Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fleep.get returns nothing regarding type, extension, or mime #8

Open
takedawilliam opened this issue Feb 2, 2019 · 3 comments
Open

Comments

@takedawilliam
Copy link

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

[]
[]
[]

I tried exiftool & it shows the correct info

ExifTool Version Number         : 11.11
File Name                       : back number - sister.mp3
Directory                       : .
File Size                       : 3.8 MB
File Modification Date/Time     : 2018:12:15 18:57:00+09:00
File Access Date/Time           : 2019:02:02 18:00:44+09:00
File Inode Change Date/Time     : 2018:12:15 18:57:28+09:00
File Permissions                : rw-r--r--
File Type                       : MP3
**File Type Extension             : mp3**
MIME Type                       : audio/mpeg
MPEG Audio Version              : 1
Audio Layer                     : 3
Audio Bitrate                   : 128 kbps
Sample Rate                     : 44100
Channel Mode                    : Joint Stereo
MS Stereo                       : On
Intensity Stereo                : Off
Copyright Flag                  : False
Original Media                  : True
Emphasis                        : None
Encoder                         : LAME3.99r
Lame VBR Quality                : 4
Lame Quality                    : 3
Lame Method                     : CBR
Lame Low Pass Filter            : 17 kHz
Lame Bitrate                    : 128 kbps
Lame Stereo Mode                : Joint Stereo
ID3 Size                        : 128
Title                           :
Artist                          :
Album                           :
Year                            :
Comment                         :
Genre                           : None
Duration                        : 0:04:07 (approx)

Link to the trouble file back number - sister.mp3

Could you please help?

@takedawilliam
Copy link
Author

I added a new PR #10 for this issue. Could you please check?

@audiofeature
Copy link

Indeed I confirm: Many mp3 files just deliver an empty result.

@r-y-zadeh
Copy link

I added a new PR #10 for this issue. Could you please check?

Thank you. fix the issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants