METADATA_BLOCK_HEADER.BLOCK_LENGTH (0) at offset 42 is invalid

The place for "I can't figure out how to..." questions.
Post Reply
lyapounov
User
Posts: 10
Joined: Sat Sep 17, 2016 4:02 am
Are you a spambot?: no

METADATA_BLOCK_HEADER.BLOCK_LENGTH (0) at offset 42 is invalid

Post by lyapounov » Tue Oct 16, 2018 9:48 pm

Hello

I have a set of flac files in an album; the previous version of getid3 was fine to find the tags.

But with the last version (1.9.15), 17 files out of 20 generate the following error message:

METADATA_BLOCK_HEADER.BLOCK_LENGTH (0) at offset 42 is invalid

I have tried to retag them, does not change anything.

All my tagging program don't find any issue (Metadatics, MP3Tag, Music Brainz Picard, etc.)

How can I more debug ?

Many thanks !
Best

James Heinrich
getID3() v1 developer
Posts: 1475
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: METADATA_BLOCK_HEADER.BLOCK_LENGTH (0) at offset 42 is invalid

Post by James Heinrich » Wed Oct 17, 2018 12:59 am

Please submit a sample file for testing. Either post here or email to info@getid3.org

lyapounov
User
Posts: 10
Joined: Sat Sep 17, 2016 4:02 am
Are you a spambot?: no

Re: METADATA_BLOCK_HEADER.BLOCK_LENGTH (0) at offset 42 is invalid

Post by lyapounov » Wed Oct 17, 2018 2:07 pm

It says "file too large". I am sending via email

James Heinrich
getID3() v1 developer
Posts: 1475
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: METADATA_BLOCK_HEADER.BLOCK_LENGTH (0) at offset 42 is invalid

Post by James Heinrich » Wed Oct 17, 2018 5:19 pm

Thanks for the sample file. Your file contains a SEEKTABLE entry that is zero bytes long. This is legal, but getID3 wasn't expecting it.
Fixed in v1.9.16-201810171314
https://github.com/JamesHeinrich/getID3 ... aee6ab8d82

lyapounov
User
Posts: 10
Joined: Sat Sep 17, 2016 4:02 am
Are you a spambot?: no

Re: METADATA_BLOCK_HEADER.BLOCK_LENGTH (0) at offset 42 is invalid

Post by lyapounov » Thu Oct 18, 2018 11:12 pm

Thx James !!!! Congratulation

Post Reply