Comments (5)
Hey @candh,
Thanks for providing the samples. Using the samples and your investigation with the binary diffs I knew that there must be a bug in the parser for the image container, because the image header was missing some bytes in the beginning.
Interestingly the parser problem was masked by another bug (that's why it worked most of the time). So we hit two birds with one stone here!
Your issue should now be resolved in master
. I will release a new version promptly. If you find any more problems feel free to open another issue.
Thanks again for your help improving tinytag!
Have a piece of cake
from tinytag.
Hey @candh, thanks for your excellent bug report!
I'd love to solve this, but I still need you to upload the mp3, so I can take a closer look at the data.
from tinytag.
Thanks @devsnd for the quick reply.
I have uploaded both the mp3s here https://drive.google.com/drive/folders/1WM_wQRmZyp3zCWF2UfI1qnSWwUunHNhf
from tinytag.
Sure, no problem! I'll check it out..
Thanks for the great work.
from tinytag.
I feel like an idiot, because I pip installed tinytag and just hit this same issue and was trying to resolve it (my temp solution was to set self._image_data = content[desc_start_pos:]
), and then I realized the row counts between the main scripts were off when I looked at the repository...
I see now that 0.19.0 is the current version while PyPI still has version 0.18.0. You live and you learn, I guess!
from tinytag.
Related Issues (20)
- this one file... HOT 3
- [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
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.