pyro.699 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Remove MP3 album art
by zer (Deacon) on Apr 06, 2007 at 06:45 UTC
    MP3::Tag
    MP3::Info
    MP3::Album

    This should help you out

      MP3::Tag supports arbitrary ID3v2 frames.

      MP3::Info and MP3::Album only support a small subset of frames, and not the Attached Picture (APIC) where album art is supposed to go.

      You want to do something like:

      use MP3::Tag; $mp3 = MP3::Tag->new($ARGV[0]); $mp3->get_tags(); $id3v2 = $mp3->{ID3v2} if exists $mp3->{ID3v2}; $id3v2->remove_frame("APIC"); $id3v2->write_tag(); $mp3->close();
      Just feed that script a filename, and it should remove the album art (assuming your ripper actually put the album art in the right tag).

      Of course this is just an example, and if it breaks something you get to keep all the pieces.

Re: Remove MP3 album art
by jesuashok (Curate) on Apr 06, 2007 at 06:44 UTC

    I have no idea how it can be done in perl. Because I don't know what is album art. But when I did a google I found out the following useful information. If it helps to solve your problem, please make a use of it.

    There is this freeware program called "The Godfather". It can remove, copy or 'copy and remove' album art from mp3's on the harddisk of your computer to a folder of your choosing. Found here



    hmmm ....let me think what did I said