Exceptions thrown when data is written to an mp4 file after artwork is added.

Issue #262 wontfix
Zubair Ahmed created an issue

I used a method to add tags to mp4 files and it worked on files that didn't have any artwork. But after I added artwork to those files and tried to edit the metadata sometimes I would get errors that would say that the file is not an mp4 file. The error doesn't happen on all files though, I used it on my music library of many songs and the error came up only on certain songs. But those songs are not corrupted files, I was able to play all of the files in itunes but wasn't able to write to them. It throws org.jaudiotagger.audio.exceptions.InvalidBoxHeaderException: Unable to find next atom because identifier is invalid ?JFI

But the weird thing is that the metadata is written to the file correctly. So it throws exceptions even though the code works properly.

Comments (3)

  1. Log in to comment