Request: Use cached Overdrive info for all libraries
Now that most libraries have moved to the new Ovedrive format, this plugin could take advantage of the fact that the same book has the same ID in all Overdrive libraries.
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 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.
|