A small bug in this is that it doesn't really work with relative paths. 
As it cds to the first path, a relative second argument is treated
relative to the first one i.e. flac2mp3.pl flac/ mp3/ will create an
mp3 directory in flac/.  The following patch fixes this:

*** /tmp/flac2mp3/flac2mp3.pl   2005-09-07 11:22:23.000000000 +0100
--- ./flac2mp3.pl       2005-09-07 19:19:29.886199020 +0100
***************
*** 113,118 ****
--- 113,121 ----

showusage() if ( !defined $srcdirroot || !defined $destdirroot );

+ $srcdirroot = File::Spec->rel2abs($srcdirroot);
+ $destdirroot = File::Spec->rel2abs($destdirroot);
+
die "Source directory not found: $srcdirroot\n"
unless -d $srcdirroot;

I'd like to subscribe to your lists, but distrust lists in general due
to the necessity of including my email address on something that could
end up on the web.  Do you have a web archive anywhere atm?  Are any
steps taken to protect email addresses from spammers?

Max

robinbowes Wrote: 
> Hi,
> 
> v0.2.7 of flac2mp3 is now available here:
> 
>       http://robinbowes.com/filemgmt/singlefile.php?lid=11
> 
> Changes for this version:
> v0.2.7
> - changed the way file and directory names are processed to be
> more portable (Now make more extensive use of File::Spec)
> - Now processes MusicBrainz tags
> (thanks Hakan <[EMAIL PROTECTED]>)
> 
> Cheers,
> 
> R.
> -- 
> http://robinbowes.com
> 
> If a man speaks in a forest,
> and his wife's not there,
> is he still wrong?


-- 
max.spicer

The wild things roared their terrible roars and gnashed their terrible
teeth
and rolled their terrible eyes and showed their terrible claws
but Max stepped into his private boat and waved good-bye
_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to