Corrupt TAG's can't be parsed - but wait other programs can.
Another issue I have observed. In some files I have a corrupt frame (I think, placed their by TRAKTOR a long time ago) and in the other tool I use J River, although that bad frame is displayed as "TBP?: 128", all the other frames are shown. However in kid3 (gui version) only some frames are shown. (There is no V1 tag).
Here is the dump of the file from kid3-cli
Tag 2: ID3v2.3.0 Title Holiday Artist Madonna Album The Immaculate Collection Date 1983 Track Number 1/17 Genre Pop BPM 116 Composer Billy Steinberg, Tom Kelly/Curtis Hudson, Lisa Stevens Disc Number 1/1
And here from J River (same file)
Uncompressed Audio File (aif) 44.1 kHz, 16 bit, 2 ch
ID3v2.3 Tag: (45056 bytes) TIT2 (Name): Holiday TPE1 (Artist): Madonna TALB (Album): The Immaculate Collection TRCK (Track #): 1/17 TPOS (Disc #): 1/1 TYER (Year): 1983 TCON (Genre): Pop TCOM (Composer): Billy Steinberg, Tom Kelly/Curtis Hudson, Lisa Stevens TBPM (BPM): 116 TBP?: 117 APIC (Picture) (Cover): COMM (iTunes_CDDB_IDs): 17+DF64D50D9D4C9AC5A45CCC09B6094C95+739259 COMM (iTunNORM): 000006D9 000005F7 00008841 0000484B 00031CE1 00033173 00007F11 00007F11 00005A36 0000465F COMM (iTunPGAP): 0; TXXX (Dynamic Range (DR)): 12 TXXX (Dynamic Range (R128)): 3.8289000988006592 TXXX (Peak Level (R128)): +0.7 dBTP; +0.7 Left; +0.3 Right TXXX (Peak Level (Sample)): -0.1 dB; -0.1 Left; -0.1 Right TXXX (replaygain_track_g..): -4.35 dB TXXX (replaygain_track_p..): 0.989000 TXXX (Tool Name): Media Center TXXX (Tool Version): 19.0.128 TXXX (Volume Level (R128)): -9.3495903015136719 TXXX (Volume Level (Repl..): -4.3495898246765137
Essentially I can't reach the required data in these files with Kid - and the only solution at the moment is to blow away the tags and re-create them (as per my previous reply in our other thread). There are however (it seems) several hundred files in this state - and you may be interested to handle this in your code. (and of course you may not :-) ) What would be excellent is to flag up and offer the option of surgically removing a frame you can't handle. I'd be quite happy to send over a test file if there was a way to corrupt the music data and not contravene copyright somehow.
Imported from SourceForge, author: *anonymous