OiPenguin wrote:

> The result is an error at the same place as previously.
> 
> 
> Code:
> --------------------
>     
>   [EMAIL PROTECTED]:~$ /bin/flac2mp3-0.3.0rc1/flac2mp3.pl 
> /home/felles/Media/Musikk/Rippet /home/felles/Media/Flac_som_MP3
>   Using flac from: /usr/bin/flac
>   Using lame from: /usr/bin/lame
>   Processing directory: /home/felles/Media/Musikk/Rippet
>   6338 flac files found. Sorting...
>   Sort complete.
>   Transcoding "A Tribe Called Quest/Anthology Bonus CD/01. A Tribe Called 
> Quest - Bonita Applebum (12" Why? Edit).flac"
>   sh: Syntax error: ")" unexpected
>   "flac" --decode --stdout --silent "A Tribe Called Quest/Anthology Bonus 
> CD/01. A Tribe Called Quest - Bonita Applebum (12" Why? Edit).flac"| "lame" 
> --noreplaygain --preset standard --quiet - "/home/felles/Media/Flac_som_MP3/A 
> Tribe Called Quest/Anthology Bonus CD/a2X7YPFNkA.tmp" failed with exit code 
> 512
>   [EMAIL PROTECTED]:~$ 
>   

That's a different error, and is caused by the " in the file name.

That's a known bug, and one I've not fixed because I've been 
procrastinating over choosing the "best" way to do it.

You can do something like this:


Replace these lines:

my $quotedsrc  = $srcfilename;
my $quoteddest  = $destfilename;

with:

my ($quotedsrc  = $srcfilename)  =~ s/"/\\"/g;
my ($quoteddest = $destfilename) =~ s/"/\\"/g;

I *will* get round to fixing this properly one day...

R.

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to