I guess a code sample would have really cleared up what I wanted to do. However, I think it would be very easy, given the hashful nature of perl to do something like this:
use UNC::MP3::FootpadConvert qw{ convertfromfootpad };
my $cfilename = convertfromfootpad( $file );
update: I forgot to address track numbers. Well, track numbers, yes, are only important if youre writing or reading tracks from a CD. however, if you dont have the CD (lets say you are in fact violating copyright laws and downloading mp3's without discs and keeping them) -- but you want to listen to it, it would be nice to have the tracks numbered. Take for example, Floyd's Dark Side of The Moon. Throughout the entire CD there is a background track. However, if I had all the files and they were named "Money", "Total Eclipse" and so on, they would have no consistency. So while a track number isnt imperative to normal mp3 usage, it is very important as people begin to "collect" mp3's. Similar to my $MP3::UNC::dl (debug level) variable, it would be easy to hack together a $MP3::UNC::ignore_track_no. However, I also think that people who have a large collection of miscellaneous mp3's (as I do too) are not going to be spending a lot of time organizing them. dig?
So that isnt so much of an issue. I'll post some code when I've got the OO stuff working happily.
--
Laziness, Impatience, Hubris, and Generosity. | [reply] [d/l] |