Command line mp3 file joiner?

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

Moderator: Mr_Noodle

Command line mp3 file joiner? Thu Nov 10, 2011 3:45 am • by seeplanet
Hi all,

Hoping someone more experienced with command line utilities can lend me a hand. Right now I have Hazel take mp3 files of mine and copy them into a certain folder. I'd like to have those mp3 files joined up into one mp3.

I haven't found much in the way of applescript or automator tools to do this, but I stumbled upon a command line utility called mp3wrap. It's pretty simple. They say all you have to do is type in the following command line: "mp3wrap album.mp3 file1.mp3 file2.mp3".

Question I have is how can I have Hazel do that? And is this the easiest way? Has anyone been able to merge mp3 files together?

Thanks all!
seeplanet
 
Posts: 8
Joined: Thu Nov 10, 2011 3:34 am

Re: Command line mp3 file joiner? Fri Nov 11, 2011 11:23 am • by Mr_Noodle
Hazel rules only work on one file at a time. How do you determine what the other file is in this situation?
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Command line mp3 file joiner? Sat Nov 12, 2011 10:51 am • by seeplanet
Well that's the million dollar question. Since Hazel works on only one file at a time I was thinking that Hazel could be used to initiate a automator action or a shell script and have those do the work. But it's looking a bit too complicated.

I think i'll stick with just having multiple mp3's in my folders. :D
seeplanet
 
Posts: 8
Joined: Thu Nov 10, 2011 3:34 am

Re: Command line mp3 file joiner? Mon Nov 14, 2011 11:49 am • by Mr_Noodle
You'll basically have to figure out that logic in your own script. When the script is triggered, it will have to figure out the correlation between the file passed in and whatever other files you want to join with it.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support