krkeegan has asked for the wisdom of the Perl Monks concerning the following question:

I have noticed that using MP3::Tag to modify a ID3v2 tag with embedded cover art causes a corrupt Id3v2 tag. Personaly I would never use the embedded option since I think it wastes a lot of space, but if I wanted to distribute this script I would like to be able to work around this.

I imagine the error is occuring because MP3::Tag does not support images. However I have not seen comments either way. What are your thoughts on a good workaround other than just skipping files with images.

I have seen MpLib I think forgive me if the name is wrong. The C based MP3 dll. However I was opting for Mp3::Tag because it seemed more stable and a little more developed.

Thanks for your help,


Replies are listed 'Best First'.
Re: Errors with MP3::Tag and cover art.
by duct_tape (Hermit) on Jun 21, 2005 at 21:37 UTC

    First off, let me say that I have never used this module so I don't know of a workaround for it. Whenever I have changed ID3 tags in the past, I have used MP3::Info module. You could look into that one, but I do not know if it would run into the same problem.

    Have you tried contacting the author of the module to report the problem? Maybe they are unaware of the problem. If you do so, try and provide an example MP3 so they can duplicate the problem. Reporting it as a bug would be the preferred approach so it can get fixed.

    Try either sending an email to the author (email address is listed in the AUTHOR section of the documentation), or submit a bug to


      I have seen MP3::Info but it does not support ID3v2 which is the most common form of ID3 tag around today.

      I have also sent a quick note to the author, I just havn't heard a response yet.

      Thanks Again for your help, Kevin