You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fails to read id3v2.3 tag written by lofty if picture description is None #653
panics should be unrelated to this particular issue, the expected output for this issue is reread err: TextDecode("UTF-16 string has an invalid byte order mark").
Summary
When writing a picture with the id3v2.3 option, and when a picture has None as description, lofty then can't read the tags it wrote. For the reproducing code above, I added some lines to remove the picture description, but if the input file is already missing it, then the issue occurs even if the unmodified Tag is saved. Commenting out the block should still reproduce it with the attached file, for example.
It seems like certain files written by other software as id3v2.3 and without picture descriptions read OK. It seems like most other software can read the other tags, if present, but only some can still read the picture.
Activity
Serial-ATA commentedon May 2, 2026
Thanks! I think I ran into this before and completely forgot to fix it 🤦