From owner-freebsd-stable@FreeBSD.ORG Thu Jul 14 14:04:55 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A91216A41C for ; Thu, 14 Jul 2005 14:04:55 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id F007643D46 for ; Thu, 14 Jul 2005 14:04:54 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1Dt4Kb-0004PW-Te for ; Thu, 14 Jul 2005 16:04:54 +0200 Received: (qmail 1694 invoked from network); 14 Jul 2005 14:04:52 -0000 Received: from localhost (HELO outgoing.local) (127.0.0.1) by localhost with SMTP; 14 Jul 2005 14:04:52 -0000 Date: Thu, 14 Jul 2005 16:04:50 +0200 To: "Yann Golanski" , freebsd-stable@freebsd.org References: <20050714110848.GA46994@kierun.org> <20050714135043.GA49110@kierun.org> From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20050714135043.GA49110@kierun.org> User-Agent: Opera M2/8.01 (FreeBSD, build 1204) Cc: Subject: Re: [SOLVED] Re: burncd: Device busy error. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 14:04:55 -0000 On Thu, 14 Jul 2005 15:50:43 +0200, Yann Golanski wrote: > Just in case anyone else has the same problem and wants a solution. > > 1- Recompile and install your kernel with the following options: > device atapicam > device ata > device scbus > device cd > device pass > > 2- Go to your MP3 dir. > > 3- Converts spaces to underscores. > for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`; done > > 4- Converts .mp3 to .wav > for i in *.mp3; do lame --decode $i `basename $i .mp3`.wav; done > > 5- Burn to CD... > cdrecord -v dev=1,0,0 -dao -pad -useinfo *.wav > > This appears to work fine for me. If anyone has a better idea or can > improve the process, please let me know. Hello, With something like this script you can skip the step of replacing spaces to underscores. It is untested, so it might need some editing. #! /bin/sh find . -name "*.mp3" | ( while read f do WAV=`basename "$f" .mp3`.wav lame --decode "$f" "$WAV" done ) -- Ronald Klop Amsterdam, The Netherlands