Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error with media-sound/rip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Pasketti
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 109
Location: Austin, Texas

PostPosted: Thu May 04, 2006 2:50 am    Post subject: Error with media-sound/rip Reply with quote

A few months back, I used rip to convert all my CDs to mp3s. It worked great.

But the other day, I tried to use it to rip a new CD, and I'm getting the following error:
Code:
(/home/joed)$rip -b 192 -L -T -v -S -s 40 -m /usr/local/share/mp3
Loading CD tray... Done.
Querying CD for track information... Done.


Ripping these track(s):  1 2 3 4 5 6 7 8 9 10 11 12 13 14

Connecting to CDDB...Odd number of elements in hash assignment at /usr/bin/rip line 1385.
Use of uninitialized value in list assignment at /usr/bin/rip line 1385.
 Done.
rip:  Tried to do a CDDB lookup for a CD in /dev/cdrom
rip:  No info received from CDDB.
rip:  Connection to CDDB may have failed.
rip:  CDDB lookup has been aborted.

rip:  Abort the rip or attempt to recover (a/R)? a


That line in rip is where it calls CDDB_get.

Running the cddb.pl that came with CDDB_get works fine.

I've run revdep-rebuild and perl-cleaner, no help.

My perl-fu is nonexistant. Anyone know what may be going on, or have a recommendation for another command-line based ripping tool?
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Thu May 04, 2006 3:06 am    Post subject: Reply with quote

I use rip and find it very useful. I've made a few minor changes over the years. One change was the CDDB host. I changed it to us.freedb.org. Here is a patch:
Code:
--- /usr/bin/rip        2006-03-13 11:28:05.000000000 -0700
+++ /usr/local/bin/rip  2006-04-14 15:02:15.000000000 -0600
@@ -130,7 +130,7 @@
 my %config;                                       # Configuration passed to CDDB/CDDB_get
 my $dev             = "/dev/cdrom";               # CDROM device to read (used by -d/--dev)
 $config{CD_DEVICE}  = $dev;                       # Device that has the audio CD
-$config{CDDB_HOST}  = "freedb.freedb.org";        # CDDB host to find the server on
+$config{CDDB_HOST}  = "us.freedb.org";            # CDDB host to find the server on
 $config{CDDB_PORT}  = 888;                        # CDDB port the CDDB server is using
 $config{CDDB_MODE}  = "http";                     # CDDB mode can be: cddb, http
 $config{input}      = 1;

I've had one or two CD's (out of about a few hundred) fail anyway during the CDDB look up. I told rip to continue and I was able to rename and relabel the mp3's it created manually.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum