Giter Club home page Giter Club logo

Comments (3)

devsnd avatar devsnd commented on May 25, 2024

Hi justanr,

Thanks for your report and investigation! Could you please upload one of the tracks that didn't decode properly, so I can reproduce the issue and improve the test-suite?

In any case: you might be able to fix it yourself in the def _decode_string(self, b) call of the ID3 class. If that doesn't work out for you, I'll try to fix it on the weekend 🌵

from tinytag.

justanr avatar justanr commented on May 25, 2024

https://dl-web.dropbox.com/get/11%20Non%E2%80%90Zero%20Possibility.mp3?_subject_uid=191272454&w=AAC9P2dyxpwdrTYunE_61Olt-AWdPi9LrKghNdv51q_mbw

Here's the file in question above. I'm free today, so I'll probably spend a chunk of it hacking away at this and seeing what I can break.

from tinytag.

justanr avatar justanr commented on May 25, 2024

Upon further testing of a known clean file, I believe that the actual ID3 tags are buggered (and given the pervasiveness of this issue, I think I know where to submit a bug report to, though further testing in this regard needed). This should have been my first port of call; however, caffeine deprivation does odd thing to one's brain.

Known clean track:

 ('album', 'Relationship Of Command'),
 ('artist', 'At the Drive-In'),
 ('audio_offset', 2062575),
 ('bitrate', 128.0),
 ('duration', 465.21945101093604),
 ('filesize', 7443510),
 ('samplerate', 44100),
 ('title', 'Non-Zero Possibility'),
 ('track', '11'),
 ('track_total', None),
 ('year', '2000')

It appears the encoding issue only presents after using an autotagger, which I now believe to be borking it up in some fashion (or a library it depends on is the culprit). I intend to pursue this all the way down.

After Autotagger Use:

 ('album', '\x03Relationship of Command'),
 ('artist', '\x03At the Driveâ\x80\x90In'),
 ('audio_offset', 2062575),
 ('bitrate', 128.0),
 ('duration', 465.21945101093604),
 ('filesize', 7443510),
 ('samplerate', 44100),
 ('title', '\x03Nonâ\x80\x90Zero Possibility'),
 ('track', '\x0311'),
 ('track_total', '11'),
 ('year', '2000')

I appreciate the timely response, however. :)

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.