Mike Leone on Tue, 2 Jan 2001 21:17:40 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] CD Burning using MP3s as source


On 02 Jan 2001 18:04:31 -0500, Bill Jonas wrote:
> On Tue, Jan 02, 2001 at 05:59:43PM -0500, Bill Jonas wrote:
> > Well, you'd just make a couple of modifications like so:
> 
> Oops, with what I posted you still have the problem of having it do all of
> the files in a directory.  Try this small change:
> 
> #!/bin/bash
> CDRFILES=''
> 
> for I in $@
> do
>   mpg123 -s "$I" > "$I.cdr"
>   CDRFILES="$CDRFILES $I.cdr"
> done
> 
> <CD-burning tool> <cmd-line options> $CDRFILES && rm $CDRFILES
> #(End of script)
> 
> Then you would just run it, giving as arguments to the script the files
> you want to record in the order in which you'd like to have them recorded
> on the CD.

While this would work, passing each individual song title to the script
can get a little 
touchy ....


cd-script Dixie!Dregs!-!01!-!Wages!of!Weirdness.mp3  Dixie!Dregs!-!02!-!Peaches!En!Regalia.mp3 Dixie!Dregs!-!03!-!Freefall.mp3 \
Dixie!Dregs!-!04!-!Aftershock.mp3 Dixie!Dregs!-!05!-!The!Bash.mp3 Dixie!Dregs!-!06!-!Night!Meets!Light.mp3 Dixie!Dregs!-!07!-!Refied!Funky!Chicken.mp3\
Dixie!Dregs!-!08!-!Jessica.mp3 Dixie!Dregs!-!09!-!What!if.mp3 Dixie!Dregs!-!10!-!Sleeveless!in!Seattle.mp3 Dixie!Dregs!-!11!-!Ionized.mp3 \
Dixie!Dregs!-!12!-!The!Great!Spectacular.mp3 Dixie!Dregs!-!13!-!Dixie.mp3


Which was the track listing of the last CD I made (yes, those are the
filenames of the MP3s, as I got them off Napster). Actually, I had room
on the CD, so I added a couple other songs.
(and I have other songs by the Dregs, with filenames that start with
"Dixie!Dregs", so just saying "cd-script Dixie!Dregs*.mp3" would not
work, either, unfortunately, as that would grab files I wouldn't want on
this CD)

Now you know why I'd prefer a point-and-click or drag-and-drop GUI; way
too much typing. <G>

(even an ncurses-based console client would be Ok, like mc [midnight
commander]; I just don't wanna have to either type all that much, or
rename all my existing files)

Appreciate all the effort, tho, Bill. Thanks. If I can't get a GUI I
like, I may try this method.



-- 
------------------------------------------------------------------
Michael J. Leone <mailto:turgon@mike-leone.com>
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
 


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug