Net:CDDB module buggy
Status: Pre-Alpha
Brought to you by:
thomyschneider
The Net:CDDB module has serious bugs - it is not able
to handle multiple lines for DTITLE or TTITLE.
If a record returned from freedb has contents like
this:
DTITLE=Some wierd
DTITLE=title / split on 2 lines
TTITLE0=Artist 1 / very, very, very looong
TTITLE0=Song Title
the data returned by Net:CDDB is wrong. You get 2
tracks listed, and other string-output in the arrays
returned cannot handle multiple lines with the same
keyword (eg. TTITLE0).
The Net:CCDB module hasn't been updated since sometime
in 1999 - what about converting to use CDDB.pm instead
(http://search.cpan.org/search?dist=CDDB) ? - At least
it still looks to be updated.
Logged In: YES
user_id=240880
it's already fixed .... look at patches ... or wait for next
release
greets,
Tami
Logged In: NO
Still get errors on one CD:
mcdb_discinfo gives:
010ea210 16 150 14525 25292 42682 59605 79405 95812 117682
134035 162782 179557 194997 212527 233835 252222 261297 3748
191 144 232 225 264 219 292 218 383 224 205 234 284 245 121
265
Output from mcdb_insert.pl:
getting CD info...
Ask CDDB-Server for data ... please wait!
Category: data
DiscID : 010ea210
Artist : Vonda Shepard
Title : Vonda Shepard Ally McBeal - Songs From The Heart
18 tracks
01 03:11 art
02 02:24 art
03 03:52 Vonda Shepard - For Once In My Life
04 03:45 Vonda Shepard - Home Again
05 04:24 Vonda Shepard - Don't Think Twice, It's All Right
06 03:39 V. Shepard & R. Downey Jr. - Chances Are
07 04:52 R. Downey Jr. & Sting - Every Breath You Take
08 03:38 Vonda Shepard - You And Me
09 06:23 Robert Downey Jr. - Snakes
10 03:44 Vonda Shepard - Reason To Believe
11 03:25 Al Green - How Can You Mend A Broken Heart
12 03:54 Tina Turner - When The Heartache Is Over
13 04:44 Barry White - You're The First, The Last, My
Everything
14 04:05 Anastacia & V. Shepard - Love Is Alive
15 02:01 Vonda Shepard - Alone Again (Naturally)
16 04:25 Vonda Shepard - Can We Still Be Friends
Use of uninitialized value in division (/)
at ./mcdb_insert.pl line 376.
Use of uninitialized value in modulus (%)
at ./mcdb_insert.pl line 376.
17 00:00 Tom Jones - It's Not Unusual
Use of uninitialized value in division (/)
at ./mcdb_insert.pl line 376.
Use of uninitialized value in modulus (%)
at ./mcdb_insert.pl line 376.
18 00:00 Chayanne - Boom Boom
Logged In: NO
Okay, the error now is caused by faulty data on freedb -
sorry!
Logged In: YES
user_id=240880
hmmm looks like a bad CD the tracktimes will be read
directly from
CD not from CDDB ....