You absolutely should not be accessing the library in driver code. It runs in a separate thread. While the library API post calibre 1.0 is thread safe, it is still not a good idea.
To implement this would require changing a fair bit of calibre internals, not just the Kindle driver.
|