Repository navigation
Should find_id3v2 restore the original cursor position when a junk-window ID3 candidate is invalid? #720
|
Hi! I’m trying to understand whether this is intended behavior or a bug in Lofty’s ID3v2 write path. I have an otherwise ordinary, untagged MP3 which begins directly with an MPEG frame. Its audio payload happens to contain the literal bytes ID3, followed by an invalid ID3v2 major version (0xBF), several MiB into the file. My application uses: to support MP3s with unusually large leading junk / stacked ID3v2 tags. On saving a new ID3v2 tag, I believe this happens:
The save reports success, but all bytes before the accidental ID3 sequence are lost. My expectation would be that a failed candidate parse either:
and that a raw ID3 sequence after the first MPEG frame is never treated as a leading tag candidate. |
Replies: 2 comments
|
Oh wow, yeah that should be seeking back to the original position. I'll get that fixed, thanks! |
|
Fixed in 0.25.3 |
Fixed in 0.25.3