Like everyone else I think Lazy Search is great - but I'm afraid I've
identified a bug in the way the rescanning is working.

The symptom is that if you add some new music to your library, where
the artist is the same as an existing artist, you will get duplicate
artist entries if you rescan "look for new and changed items".  If you
rescan with a clear library, all is fine.

I've looked into it, and I've seen that the Artist is in fact being
duplicated in the database (a second artist ID is created).

I think the reason is that the code to check to see whether this new
piece of music has a new artist must be comparing the incoming artist
name with the "namesearch" field. Unfortunately, if Lazy Search is
active, this field has been modified by having the equivalent number
stuffed in it. So the comparison is between, say, "Mahler" and
"Mahler||624537", which of course fails, so a new artist is created.

I'm afraid my Perl isn't up to taking this any further, but I hope this
helps you find a fix.

Best regards
Ceejay


-- 
ceejay
------------------------------------------------------------------------
ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=18094

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to