|
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...
|