And yeh I know if I use cdrdao with the read-cd option that it will work with data tracks and this way it won't... But then Cd-Paranoia would not take care of the cd fuckup$.#!/usr/bin/perl -w #this nibble of perl makes CDs.. use strict; die "usage: <speed> <z-paranoid off>" unless (@ARGV == 1 or 2); #my $dev = shift; #my $type = shift; my $speed = shift; my $paroff = shift; # Open Info print "Audio Clone Software: For Audio CD's Only (That you own)\nXXX M +usic will rip faster. This software is for making\nBackups for your l +arge cd collections, so that when 'we'\nBreak in to your car and rip +you off that you will still\nhave the originals in your house stored +safley away.\n(we dose not imply 'us')\n"; # Loop Mode GRIN my $a = ""; until ($a) { #insert CD #system "eject /dev/scd0"; beep(); print "Insert a CD (to rip) you lazy jackass, then hit enter"; my $unused = <STDIN>; #read CD to file print "What is the name of the CD (That you own): "; my $name = <STDIN>; chomp $name; if ($paroff eq "z") { system "cdparanoia -d /dev/scd0 1- data.wav";} unless ($paroff) { system "cdparanoia -Z -d /dev/scd0 1- data.wav";} #make TOC from CD system "cdrdao read-toc --device 0,0,0 --driver generic-mmc --fast-toc + \'$name.toc\'"; #eject CD print "put in a blank CD-R, then hit enter: JackASS!"; system "eject /dev/scd0"; beep(); $unused = <STDIN>; #write TOC system "cdrdao write --device 0,0,0 --driver generic-mmc --speed $spee +d --eject \'$name.toc\'"; # Another beep(); print "Want to stroke it again? (y/n) "; die if ( ($unused = <STDIN>) eq "n\n" ); } sub beep { system "echo "; }
2001-06-16 Edit by Corion : Added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Audio CD Clone
by Beatnik (Parson) on Jun 17, 2001 at 01:01 UTC |