View Single Post
Old 12-12-2016, 07:54 PM   #732
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by nabsltd View Post
For example, I create a new book by "James Patterson" in Calibre for an upcoming release and search for that book. The plugin then searches the first library for books by "James Patterson" (which gives a huge list), then goes through that list trying to match the title. It then repeats this for every other enabled library.

But if the plugin finds the book at the first Overdrive library searched, instead of searching for author/title on other Overdrive libraries, it could just search directly for that book ID at other Overdrive libraries. This would really speed up searches where there are multiple Overdrive libraries and the book has already been cached for at least one of them.
The plugin does a search at each library for each author to find out which of that author's books the library has in its collection. Then it gets the details for each book from only one of these libraries and caches it so that it doesn't need to retrieve it again for the other libraries and for subsequent searches. Thus for each author it does one request to each library and then does one request for each new unique book found.

Quote:
Originally Posted by nabsltd View Post
The next really big step would be to allow users to export/import the cache of books for Overdrive libraries. The export data should be very similar to what is stored in the "Discovered Books" data, and the import would load the books into the same data, but with no library associated. This would require a small change to the UI of that dialog to "show imported books", which could then be added/matched against Calibre, and the Overdrive ID used in searches for books just like the cache from libraries the user has configured.

In theory, this would allow creation of a massive cache database that would show every book that is available via Overdrive, assuming that we have enough users of the plugin.
I have no interest in creating such a feature. The plugin already does what I need it to do. The number of users of the plugin is small and declining as determined by the download count for new releases.
jhowell is offline   Reply With Quote