Firstly, thanks to James, and to everyone else who contributes to this software and the community support effort.
Vitals are as follows:
- getID3 version: 1.9.3.
- PHP version: 5.4.3 (Windows 7 x86) (running via Apache's mod_php).
- The specific error message: "METADATA_BLOCK_HEADER.BLOCK_TYPE (6) at offset 42 extends beyond end of file" (the 42 may be arbitrary; I'm not sure).
- I haven't looked at the source code to try to determine the source of the error. I'm happy to expend the effort if the developers don't know the reason for this error off-the-cuff.
I've reviewed the list of known issues and the phrase "METADATA_BLOCK_HEADER" doesn't appear anywhere else on these forums (according to the Search feature, anyway).
I've used version 1.7.7 and 1.7.9, very successfully, for reading/parsing and tagging FLAC and MP3 files. But with version 1.9.3, there is a new error present when I attempt to tag FLAC files. (I never used 1.8.3 because it introduced a regression that affected me, related to tagging; for all I know, it could be this same issue!)
It's entirely possible that there has always been a problem with my files, but only recently did getID3 introduce an error (a "good thing", if so). Further, this error only occurs on some portion of files, not all of them. (All files are similar FLAC files; different audio tracks that are encoded with the same software and prepared in the same way.)
Here's the error message that getID3 emits:
Code: Select all
METADATA_BLOCK_HEADER.BLOCK_TYPE (6) at offset 42 extends beyond end of file
But I'm not sure that this file is "OggFLAC"-encoded. The files with which this error occurs are FLAC files, encoded with libFLAC 1.2.1 20070917.All Ogg formats (Vorbis, OggFLAC, Speex) are affected by the problem of large VorbisComments spanning multiple Ogg pages, but but only OggVorbis files can be processed with vorbiscomment."?
And it's not this, is it?
Nowhere in my code do I reference "id3v1", explicitly. And what's more, the same PHP code/logic used to function without issue (with version 1.7.9).Known will-not-work:
ID3v1 tags (always located at end-of-file)
Thanks for any help! And please let me know if I can provide additional information.