title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Bug: Incorrect APEv2 tagging in dMC?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ultim

    • Apr 2006
    • 1

    Bug: Incorrect APEv2 tagging in dMC?

    I'm writing a tagger software, and I think that dMC writes APEv2 tags incorrectly. Although a footer is present, it does not set the APE_TAG_FLAG_CONTAINS_FOOTER bit in the header flags.
    I've found a webpage (http://www2.uni-jena.de/~pfk/mpp/sv8/apetagflags.html) stating that an UNset bit means the presence of a footer, this is, however, false. If you take a look at the official monkeys audio SDK, in ApeTag.h you will find that a SET bit represents the presence of a footer.

    From ApeTag.h from the SDK:

    #define APE_TAG_FLAG_CONTAINS_HEADER (1 << 31)
    #define APE_TAG_FLAG_CONTAINS_FOOTER (1 << 30)
    #define APE_TAG_FLAG_IS_HEADER (1 << 29)
    #define APE_TAG_FLAGS_DEFAULT (APE_TAG_FLAG_CONTAINS_FOOTER)

    And as footers are obligatory in APEv2 files, APE_TAG_FLAGS_DEFAULT must state that there is a footer in the tag. So a set bit means a footer.

    Hey, Spoon, I REALLY love your Music Converter, so don't leave such silly bugs in it!

    (This bug is not hard for other tagging software to take into account, but still queer)
  • Spoon
    Administrator
    • Apr 2002
    • 44574

    #2
    Re: Bug: Incorrect APEv2 tagging in dMC?

    I am not sure it is as clear cut as you make it - yes monkeys audio created apev1 tags, but mpc (or mpeg plus, mp+, mpp) actually invented apev2, as they created it I would tend to follow the specs from that web site you list.

    AFAIK all taggers look for the presence of an APE2 by looking for the footer first at the end of file, every apev2 AFAIK has a footer.
    Spoon
    www.dbpoweramp.com

    Comment

    Working...

    ]]>