[pkg-mad-maintainers] Patch to libid3tag0-dev for EasyH10

nyaochi nyaochi at nyaochi.sakura.ne.jp
Wed Aug 24 09:20:47 UTC 2005


>>1) id3_file_content_offset() function to tell the offset position where
>>ID3v2 tag stored in an MP3 file ends
> 
> 
> You can do this by using the lower lever id3_tag_query interface.  The
> fact is that V2 tags can occur at all points in a file so you need to
> be prepared to call id3_tag_query whenever you find non-MP3-frame data.
> id3_tag_query will tell you how long the tag is.
I didn't know this interface. Thanks for the information.

>>2) Adding an interface to obtain both ID3v1 and ID3v2 values separately
> 
> 
> IIRC unstream indended the id3_file interface to hide the fact that
> multiple tags may exist.  If you want to access individual tags you
> can use id3_tag_query (on the end of the file for V1 and the beginning
> for V2).
I also think the interface should be. I didn't want to change the 
interface but had nothing to use because I'm not aware of id3_tag_query 
interface.

> If you don't want to modify your program to use the id3_tag_query
> interface then we can concider patching the debian version, but this
> is never very satisfactory.  Its always better to get this kind of thing
> accepted upstream.
Right. I don't want to patch it either. I will consider using 
id3_tag_query interface.

>>3) Modifying the behavior when an error occurrer.
> 
> 
> Now this we should certainly include.  I'm not sure why upstream doesn't
> do this already.  I can only guess that he wasn't aware that many such
> files exist.  I have to admit I have never come accross such a tag.
> However, if several users have had problems I suggest we take this patch.
I encounter a few MP3 files that were submitted by a user. It cannot be 
recognized by libid3tag but recognized by mp3infp. I will submit this 
patch to the upstream soon.

Thanks,
Nyaochi



More information about the pkg-mad-maintainers mailing list