Categories
General

mp3burn

mp3burn is a simple command line tool for making audio CDs from mp3s without filling up your disk with .wav files. It requires perl, mpg123, and cdrecord.
update! Why not use a self made script? (see comments)
Because I keep forgetting the parameters to pass to cdrecord, and it’s easier to have someone else maintain a package than me. Plus there’s a few graphical frontends for mp3burn that could be handy for the family.. Might finally get my brother interested in using Linux as a desktop!

Comments

comments

By Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Google+ and Twitter.

1 reply on “mp3burn”

Wouldn’t a simple shell script that deletes the .wav files after
the CD has been burned do the trick just as well? Here’s a yoke
I use for copying CDs (er, for backup purposes only! No really,
that’s true!).

#!/bin/sh
#cd.copy: copy an audio cd from one drive to the other

# molly-coddle the user

echo “Please ensure that a blank CD is in the bottom tray”
echo “and the CD to copy is in the top tray.”
echo “Then, press Enter to continue.”
read

# set up working environment

cd /tmp || exit 1
workdir=cd.burn.$$
mkdir $workdir || exit 2
cd $workdir || exit 3

# get cd data

cdparanoia -B 1-

# put cd data

cdrecord -v speed=8 dev=0,3,0 -pad -audio *.wav

# clean up
cd /tmp
rm -fr $workdir
echo “Fertig!”
exit 0

Leave a Reply