Hello,
I'm having a problem with 6.5 r8262 when importing the Dire Straits album
Communiqué (accented e). It is showing up as nine separate albums, each
with a single track. As far as I can tell, there appear to be two problems.
Firstly, the test on line 1442 of Schema.pm is failing, meaning that the
album for the second track isn't taken to be the same as the first and so
on. I'm not quite sure why this is happening. It is definitely
$a->get('title') eq $album
that is returning false, although there appears to be no difference in the
two operands. Data::Hexify gives identical output for both:
0000: 43 6f 6d 6d 75 6e 69 71 75 c3 a9 Communiqu..
0000: 43 6f 6d 6d 75 6e 69 71 75 c3 a9 Communiqu..
However, if the 'e acute' is replaced with a plain 'e' in iTunes, the
scanning completes correctly.
This problem however shouldn't be fatal to the scanning process. It is
quite conceivable that the tracks on a single album are not in a contiguous
block, and the scanning process attempts to deal with this by checking the
database to see whether the album already exists. The second problem seems
to be that this too is failing. The SQL statement used to check for an
existing album checks that disc and discc are NULL, rather than checking for
the actual values obtained from the track.
I don’t understand the logic behind line 1473, but I found that changing it
from:
} elsif ($discc && $discc > 1) {
to:
} elsif ($discc && $discc >= 1) {
solved my scanning problems with no side effects.
Chris Key
Results 1 to 6 of 6
Threaded View
-
2006-07-03, 14:25 #1Senior Member
- Join Date
- Apr 2006
- Posts
- 134
Importing albums with accented characters

Reply With Quote
