Adding the Kobo ereaders
I have this working, but, I am seeing some things I don't understand and have hit a problem.
Firstly, if I have no books selected and try to run the import, I get the "Select a book to receive annotations" prompt. Reading that, it says that a selected book is needed in case the annotations can't be matched to a book. That sounds OK if only one book can't be matched, but what if more than one can't be matched? Do all the annotations for these books get put into the one selected book?
The next issue is the book matching. I happened to have three short stories with the same title but different authors. All were on the device and only one had annotations. The "Import Annotations" shows the book with the title and author. When I click the import button, it comes back showing a match only on the title and picked the wrong book. The book definitely has the correct author. And selecting the correct book doesn't help. I haven't looked at the code enough to see what is going wrong, but...
Why aren't you using the book id? Calibre and the driver for the device have already matched the book in the library to that on the device. I have This gives an exact mapping to get the annotations to the correct book. Or is there something I missed in the interface that would force this?
|