tsuzu / xld

Automatically exported from code.google.com/p/xld
0 stars 0 forks source link

"Get Metadata" from Discogs retrieves data of 1st CD only on some double CDs #239

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. When using "Get Metadata from URL…" on the second CD of 2-CD releases, 
data will be filled in for the FIRST cd  instead. 

2. This only happens when both CD's have same amount of tracks, for instance 
with:
http://www.discogs.com/Various-American-Primitive-Vol-II-Pre-War-Revenants-1897-
1939/release/1324134
http://www.discogs.com/Osman-Gubura-Co-Au-Royaume-De-La-Lyre/release/5549428

3. But is does not happen with ALL double CDs with equal tracks. This one for 
instance works as expected:
http://www.discogs.com/Various-Headz-2A/release/974823

XLD Versie 20131102 (145.0)
Mac OS X 10.9.2

Original issue reported on code.google.com by fai-goo...@inklaar.net on 31 Mar 2014 at 1:08

GoogleCodeExporter commented 9 years ago
I did some more research, and found that it is not always the tracks from CD1 
that are retrieved for CD2. Sometimes it is also tracks form CD2 that are 
retrieved for CD1.

I tested 5 different double or triple CD-sets on two different CD-readers. You 
can see the test results in the attached XLS. I hope it will be useful in 
solving this bug.

One thing that should be noted is that errors in the CD# were already present 
before the loading of Discogs data with "Get Metadata from URL…". Thus these 
errors are a result of bad data in the CDDB database, that does not get 
superseded by the Discogs data.
All errors in track names happened after the loading of Discogs data with "Get 
Metadata from URL…". Thus these errors result from a bug in the retrieval of 
track names for the Discogs site.

Original comment by fai-goo...@inklaar.net on 1 Apr 2014 at 8:04

Attachments:

GoogleCodeExporter commented 9 years ago
When the album has multiple discs and some of them have the same number of 
tracks, it is difficult to distinguish them from the discogs database. When a 
release has a proper duration info in the discogs database, XLD calculates a 
total length and try to identify the disc#. This sometimes works as your 3rd 
example. But for releases without duration info as your 1st example, it is 
impossible to identify a proper disc#.

Original comment by tmkkmac on 8 Apr 2014 at 11:07