I don't have all of your answers but here is a script which I found. It uses mpg123 to put the mp3 directly onto the cdrom. The key is using
-nofix - which basically makes it act like multisession ( keeps the cdrom open for more input ) . I haven't tried to fill up a cdrom yet so I don't know what it will do when the cd is full.
Code:
#!/bin/bash
#decode directly to cdrom
cd /home/images
for i in *.mp3
do
mpg123 --cdr - "$i" | cdrecord -audio -pad -nofix -
done
cdrecord -fix -eject
I have also used the pipe command to send mkisofs directly to cdrecord instead of first creating an iso image. For example:
Code:
cd /mnt/aclinux
mkisofs -R -J . | cdrecord -v dev=ATA:1,0,0 -eject -multi -data -