Search code examples
perlimagemp3podcast

How to add an "image" tag to an mp3 file in Perl


I have a set of MP3 files for a podcast, and I'd like each to have an image in it. I've looked through MP3::Tag but it isn't clear exactly how to do this.


Solution

  • You need to set the APIC frame of the id3v2 data. I found a script online that shows exactly how to do this using MP3::Tag: http://perl.thiesen.org/scripts/id3image