Quote:
Originally Posted by geek1011
Oh, OK, I see. I'll probably do the same, then. What happens with your implementation if a book already has been updated with Calibre, but someone later bought a book from Kobo in the same series, and they try to sideload another book with the same series? Will the plugin update the first sideloaded book to match?
|
The driver compares the metadata in the database to the library and updates the database as needed. This should mean all the sideloaded books get updated to the id from Kobo. It isn't something I explicitly tested, but, from memory of the code, it will handle this situation.
And for those worried about performance, there is only one database read. The driver collects all necessary metadata from the database in the first pass. The later comparisons are in memory, and, unless there have been a lot of changes, fast.