Comments (9)
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.
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.
Hey @kurdyak,
please send the failing file to the email address as described above, thanks.
from tinytag.
Thank you for your replay!
I've sent you the file to your email.
from tinytag.
I got this problem too. I will send the files to you.
Thank you for your code and sharing :)
from tinytag.
Hey, I am getting this error. Was there ever a resolution to this?
from tinytag.
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.
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.
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)
- [BUG] TinyTag cannot properly read metadata of two folders HOT 3
- Feature Request: Adding Song Titles HOT 2
- [BUG] AIFF text should be treated as UTF-8 HOT 2
- [BUG] Incorrect bitrate and duration for VBR mp3s HOT 5
- [BUG] UnicodeDecodeError on valid MP3 file
- Make use of code linting HOT 1
- How to handle filebuffer instead of filenames
- [BUG] Some mp3 files report 1/2 of actual duration HOT 2
- Some MP3‘s genre cannot be read correctly since v1.8.0
- [Question] - detect image encoding / format HOT 1
- tag artist, quando adicionado mais de um artista a string fica mal formatada. HOT 1
- [BUG] struct.error: unpack requires a buffer of 4 bytes HOT 8
- [BUG] Parsing mp3 file w/ valid TDRC tag does not populate year HOT 4
- Replace deprecated aifc module HOT 3
- [BUG] TDRC tag not captured as "year" HOT 2
- [BUG] Can't read `extra` tags from .m4a files HOT 1
- Expose a list of supported file extensions HOT 4
- Fail to read track_total, but it is ok in foobar
- asyncio interfaces HOT 3
- [BUG] Incompatibility with Python-pip HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinytag.