Lines 1-7
Link Here
|
1 |
diff -uNr ../ripit-1.4.orig/ripit.pl ./ripit.pl |
1 |
--- ripit.pl.orig Wed Sep 1 13:51:06 1999 |
2 |
--- ../ripit-1.4.orig/ripit.pl Mon Jun 14 14:24:16 1999 |
2 |
+++ ripit.pl Wed Sep 1 13:53:12 1999 |
3 |
+++ ./ripit.pl Mon Jun 14 14:26:24 1999 |
3 |
@@ -26,10 +26,10 @@ |
4 |
@@ -26,8 +26,8 @@ |
|
|
5 |
# User configurable variables |
4 |
# User configurable variables |
6 |
# |
5 |
# |
7 |
|
6 |
|
Lines 10-18
Link Here
|
10 |
+$cddev = "/dev/rcd0c"; # CD Audio device |
9 |
+$cddev = "/dev/rcd0c"; # CD Audio device |
11 |
+$outputdir = "/home/mp3/"; # Where the MP3s should go |
10 |
+$outputdir = "/home/mp3/"; # Where the MP3s should go |
12 |
$bitrate = 160; # Bitrate for MP3s |
11 |
$bitrate = 160; # Bitrate for MP3s |
13 |
$tocfile = ""; |
12 |
-$encoder = 1; # 0 - Bladeenc, 1 - Lame |
|
|
13 |
+$encoder = 0; # 0 - Bladeenc, 1 - Lame |
14 |
|
14 |
|
15 |
@@ -326,14 +326,11 @@ |
15 |
$use_underscore = 0; # Use _ instead of spaces in filenames (1 yes, 0 no) |
|
|
16 |
|
17 |
@@ -329,14 +329,11 @@ |
16 |
|
18 |
|
17 |
&printflush(RIPLOG,"Ripping $tracklist[$_ - 1]...\n"); |
19 |
&printflush(RIPLOG,"Ripping $tracklist[$_ - 1]...\n"); |
18 |
|
20 |
|
Lines 24-37
Link Here
|
24 |
+ die "tosha failed on $tracklist[$_ - 1]"; |
26 |
+ die "tosha failed on $tracklist[$_ - 1]"; |
25 |
} |
27 |
} |
26 |
|
28 |
|
27 |
- # Rename rip file to a wav so bladeenc will encode it |
29 |
- # Rename rip file to a wav for encoder |
28 |
- rename "$riptrackname.rip","$riptrackname.wav"; |
30 |
- rename "$riptrackname.rip","$riptrackname.wav"; |
29 |
- |
31 |
- |
30 |
&printflush(RIPLOG,"Rip complete $tracklist[$_ - 1]\n"); |
32 |
&printflush(RIPLOG,"Rip complete $tracklist[$_ - 1]\n"); |
31 |
|
33 |
|
32 |
# Start the Encoder in the background. but only once |
34 |
# Start the Encoder in the background. but only once |
33 |
@@ -363,7 +360,7 @@ |
35 |
@@ -367,7 +364,7 @@ |
34 |
print "\nBladeenc Encoding track ".$ncount." of ".($#seltrack + 1)."\n"; |
36 |
print "\nMP3 Encoding track ".$ncount." of ".($#seltrack + 1)."\n"; |
35 |
&printflush(RIPLOG,"Encoding $tracklist[$_ - 1]...\n"); |
37 |
&printflush(RIPLOG,"Encoding $tracklist[$_ - 1]...\n"); |
36 |
|
38 |
|
37 |
- # Keep looping until the file appears, ie wait for cdparanoia |
39 |
- # Keep looping until the file appears, ie wait for cdparanoia |