On Sat, 1 Apr 2000, Gary Bunker wrote:

> I guess I was less than clear.  I want to make a CD that I can play
> anywhere, not an archive of MP3 files.  I'm very familiar with putting
> data CDs together in Linux (as well as that other OS), and I've made
> several audio CDs in Linux now, but I either have to explicitly spell
> out each track on the command line (or drag/drop in Xcdroast), or I can
> rename all the tracks to be sequentially numbered, then hit the
> directory with:
> for I in *.mp3; do; mpg123 --cdr -s "$I" | cdrecord -audio -pad -swab -nofix -; 
>done; cdrecord -fix
> 
> So, if I can use "for I" to grab the files from a directory, how do I
> send mpg123 the filenames from the playlist file?  I'm sure it's
> something obvious, but it's not addressed anywhere I have found yet,
> and the bash manpages are a bit obtuse at times.
> 

Ahhh!!!

for I in `cat playlist.m3u`; do mpg123 --cdr -s "$I" | cdrecord -audio -pad -swab 
-nofix - ; done && cdrecord -fix


Reply via email to