Giter Club home page Giter Club logo

Comments (9)

devsnd avatar devsnd commented on May 24, 2024

Hey @Martmists!

Thanks for your report. Can you please provide the file by sending it to my email address, tomwallroth [aŧ] gmail [døt] com

Without the file it will be hard to reproduce the problem. Once I have it, I can have a look at it.

from tinytag.

kurdyak avatar kurdyak commented on May 24, 2024

Hi, I have the same error using tinytag.TinyTag.get(filename)

Traceback (most recent call last): File "test.py", line 127, in <module> tag = TinyTag.get('/tmp/temp.mp3') File "/usr/local/lib/python2.7/dist-packages/tinytag/tinytag.py", line 105, in get tag.load(tags=tags, duration=duration, image=image) File "/usr/local/lib/python2.7/dist-packages/tinytag/tinytag.py", line 126, in load self._determine_duration(self._filehandler) File "/usr/local/lib/python2.7/dist-packages/tinytag/tinytag.py", line 504, in _determine_duration raise TinyTagException('mp3 parsing failed') tinytag.tinytag.TinyTagException: mp3 parsing failed

If you need more info or file, which call the error - I'll give it to you.

from tinytag.

devsnd avatar devsnd commented on May 24, 2024

Hey @kurdyak,

please send the failing file to the email address as described above, thanks.

from tinytag.

kurdyak avatar kurdyak commented on May 24, 2024

Thank you for your replay!
I've sent you the file to your email.

from tinytag.

findix avatar findix commented on May 24, 2024

I got this problem too. I will send the files to you.
Thank you for your code and sharing :)

from tinytag.

krystalize avatar krystalize commented on May 24, 2024

Hey, I am getting this error. Was there ever a resolution to this?

from tinytag.

 avatar commented on May 24, 2024

Hey, I have the same problem with some files. With mpck, I have this error for my mp3 file :

invalid header values
CRC error

from tinytag.

westcoj avatar westcoj commented on May 24, 2024

Not sure if you looked into it or not. I noticed the issue was occurring when trying to check the duration, specifically on lines 507-510. I looked at the audio files (mp3) that were throwing this but couldn't really make any connections between them that didn't exist between working files. If you specify duration as false all the files work, though if someone needs the duration I guess that doesn't do them any good. I didn't look into it much more since I don't need the duration, but figured I'd post here.

from tinytag.

devsnd avatar devsnd commented on May 24, 2024

Hey, a lot of time has passed and newer versions of tinytag handle slightly corrupt mp3 files much better. I'll close this issue, please open a new issue with specific problems, providing samples to reproduce them if you have any problems.

from tinytag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.