in reply to Re: Remove MP3 album art
in thread Remove MP3 album art
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:
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).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();
Of course this is just an example, and if it breaks something you get to keep all the pieces.
|
|---|