ID3v2: Remove invalid padding on write #262
Labels
enhancement
New feature or request
low priority
Something that is at least planned, but likely will not be worked on soon.
It's a common issue that padding will often stick around between tag edits, as it is typically not properly accounted for in the tag header size.
We currently just get the tag size from the header and replace that many bytes with the new tag when writing, similar to other libraries. The problem is, when a tag has invalid padding that isn't included in the size, it will remain in the file indefinitely.
It may be worth removing the padding if we can reliably detect it without destroying any important data.
The text was updated successfully, but these errors were encountered: