Giter Club home page Giter Club logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Hmm, I will have to investigate this further. I remember adding the 
"--block-number 2" to it because that is where the metadata was stored on all 
the test files I used. I don't want to fix this bug and break it for everyone 
else :)

Original comment by [email protected] on 2 Nov 2013 at 7:06

from flac2all.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Right, removing "--block-number 2" is not a long term fix, because the other 
blocks may confuse the metadata parser. 

Also, block number 2 seems to be the default block used for Vorbis comments by 
the reference FLAC encoder, but from what I see there is no requirements for 
this to be fixed. As long as the block type is "VORBIS COMMENT" it is valid. 
Could be that other encoders don't put it in that block.

Either way, a better way of detecting Vorbis comment blocks will be needed. 

Original comment by [email protected] on 2 Nov 2013 at 8:05

  • Changed state: Accepted

from flac2all.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Fair enough and thanks. Looking at http://xiph.org/flac/format.html suggests 
that the STREAMINFO metadata block must be the first metadata block, followed 
by zero or more other metadata blocks, in no particular order. That certainly 
mirrors what I've seen with the different versions of flac encoders over the 
years.

I've attached a patch so that the scanner only starts looking for comment tags 
within a "Type 4 Vorbis Comment" metablock. That will prevent comment tags in 
other metablock types from poisoning the track tags. This is my first foray 
into Python so if the code looks amateurish, that's because it is!

Original comment by [email protected] on 3 Nov 2013 at 11:27

Attachments:

from flac2all.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
Thank you very much for the code patch! I have integrated it into the current 
stable version. Please can you check out revision 37 and make sure it works ( I 
will do the same in the coming days as well). 

Original comment by [email protected] on 7 Dec 2013 at 9:29

  • Changed state: Fixed

from flac2all.

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.