OK, so my original problem was solved by updating the Perl package to
the latest.  My next problem seems to be something to do with the way
the Perl system command executes commands.

When I run flac2mp3.pl in debug mode, the $convert_command is shown
as:

flac --decode --stdout "2 Pac/2Pacalypse Now/01 - 2Pac - Young Black
Male.flac" | lame --noreplaygain --preset standard "-"
"/Volumes/FreeNAS/MEDIA/FLAC/../MP3_new/2 Pac/2Pacalypse
Now/xAIzbX_3Av.tmp"

...and I get the error:

Can't init outfile '/Volumes/FreeNAS/MEDIA/FLAC/../MP3_new/2
Pac/2Pacalypse Now/xAIzbX_3Av.tmp'
blah blah failed with exit code 65280

If I take the convert_command itself and run it from a shell everything
is fine and the file is created with no problems.  So what is it about
'system' that prevents it executing properly?  The line in flac2mp3.pl
is simple enough:

$exit_value = system($convert_command);

Thanks, Shareef.


-- 
sjalloq
------------------------------------------------------------------------
sjalloq's Profile: http://forums.slimdevices.com/member.php?userid=4093
View this thread: http://forums.slimdevices.com/showthread.php?t=40556

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

Reply via email to