Menu

#2 tageditor returns empty tags for ID3v2.2

open
nobody
None
5
2005-08-21
2005-08-21
Huw Lynes
No

I'm trying to use libtagedit to sanitise ID3 and Ogg
tags in a podcatching app that I'm writing. Mostly it
works perfectly, however for files tagged with ID3v2.2
tags it returns empty tags. This makes it hard to work
out if a file has been mis-tagged or if it is ID3v2.2

ITC.TN0533c-HilaryKoprowski-2005.08.16.mp3: MP3 file
with ID3 version 2.2.0 tag
[huw@leviathon IT_Conversations]$ python
Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import tageditor
>>> tag =
tageditor.createTagEditor("ITC.SOA05-MarkCarges-2005.05.05.mp3")
>>> tag["Album"]
u''

Is the lag of v2.2 support a bug or a feature? If it is
a feature then createTagEditor should throw an
exception if you try to feed it a file with v2.2 tags.

Any feedback greatly appreciated.

Thanks,
Huw

Discussion


Log in to post a comment.