View Single Post
Old 09-21-2021, 04:20 AM   #5
maddz
Wizard
maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.
 
Posts: 1,423
Karma: 30039536
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
Yes, I know, but that's not the point. I want to know if I'm about to add another copy of the same title and/or ISBN and/or ASIN by the same author, but I don't want to see false positives where a book happens to share the same title as another book by a different author.

The logic I'm trying to get at is:

If new author = existing author, then if new ISBN = existing ISBN or new ASIN = existing ASIN or new title = existing title, then duplicate else not duplicate

The reason for the ASIN check is ratty Amazon data - specifically titles with included series/blurbs which get cleaned up in my metadata. Unfortunately, I've noticed that lately Amazon is not including ISBNs in ebook metadata which is a pain. The number of time I've added multiple copies of an Amazon purchase...
maddz is offline   Reply With Quote