and in another 5 minutes I have a nice, correct, Winamp playlist.use MP3::Tag; foreach $filename (@ARGV) { print "$filename\n"; $mp3 = MP3::Tag->new($filename); # read an existing tag $mp3->get_tags(); if (exists $mp3->{ID3v2}) { $id3v2 = $mp3->{ID3v2}; $id3v2->remove_tag(); } if (exists $mp3->{ID3v1}) { $id3v1 = $mp3->{ID3v1}; $id3v1->remove_tag(); } }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Using Perl to organize my MP3's
by Aristotle (Chancellor) on Jan 06, 2003 at 19:30 UTC | |
by spurperl (Priest) on Jan 07, 2003 at 05:35 UTC | |
Re: Using Perl to organize my MP3's
by batkins (Chaplain) on Jan 07, 2003 at 00:04 UTC | |
Re: Using Perl to organize my MP3's
by shotgunefx (Parson) on Jan 07, 2003 at 09:57 UTC | |
Re: Using Perl to organize my MP3's
by Anonymous Monk on Jan 25, 2003 at 23:55 UTC | |
Re: Using Perl to organize my MP3's
by tstock (Curate) on Jan 07, 2003 at 04:36 UTC |