Autoconvert flac to mp3

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Autoconvert flac to mp3 Fri Jul 18, 2008 10:10 am • by raxtor
Hi there,

Being the audiophile I am I use FLAC almost exclusively to store and listen to my audio cd's. Neither iTunes nor my iPod can handle that (gracefully), however, so I'm forced to convert to mp3 or some such to be able to get some tunes at work.

I found a Perl thingie here that I can point at a folder and have it mass convert that to MP3. I feel a more elegant solution would be to have a drop box folder that Hazel monitors. If there's something in there, Hazel should fire up flac2mp, wait for the results, then auto-import them into iTunes.

I think I can do the latter bit, but how do I go about hooking flac2mp into Hazel? Any help appreciated!

-...ert
raxtor
 
Posts: 7
Joined: Fri Jul 18, 2008 10:03 am

Re: Autoconvert flac to mp3 Fri Jul 18, 2008 3:13 pm • by Mr_Noodle
You can call that program from a shell script. If you have the latest version of Hazel, you can enter the script directly into the rule. Just enter your script as if you were running it on the command line, except use $1 to refer to the file to process.

Try that out and post here if you need anymore help with it.
Mr_Noodle
Site Admin
 
Posts: 11226
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support