Digging in portage...

Jerry McBride mcbrides9
Fri Oct 1 09:58:56 PDT 2004



I was digging around in portage last night and found a real nice nugget that 
tickled me to death.

I found CDMP3... a simple script that rips audio cd's, looksup the title name 
via cdda and then write it out to disk as an mp3. 

What made me take notice was how much cleaner it was than my own rip script. 
The one in the gentoo portage is a bash script, but if you make your way to 
the authors website, he has a new version for download that's in perl.

About the only alterations I felt I had to make were; put an hdparm command at 
the top that sets my cdrom for 20x (rated top speed) reads, enabled the "bfr" 
buffering as the default setting and added the eject command at the end of 
the script. This way, it runs at top speed and spits out the disk when  it's 
done.... easy to tell that it's finished that way.

Anytime I happen to walk by and the cdrom is sticking it's tongue at me, I 
slap another disk into it and go about my work. If you happen to have more 
than one cdrom in your computer, you can run multiple copies of cdmp3 in 
their own sessions... 

Works great!

Cheers.

-- 

******************************************************************************
                     Registered Linux User Number 185956
              FSF Associate Member number 2340 since 05/20/2004
             Join me in chat at #linux-users on irc.freenode.net
    Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
    11:22am  up 31 days, 11:35,  7 users,  load average: 3.09, 3.06, 3.01


More information about the Linux-users mailing list