Quote:
Originally Posted by aik099
@davidfor, one last thing I've noticed about the Boox annotations import: I'm importing from the SQLite database and therefore I'm not getting the latest changes while the AlReaderX app (that holds database connection open) is running. This is due to the specifics of SQLite, where it writes all changes into a separate file and only merges them back into the database upon connection close.
Is there any way to warn the user about such an effect, that before Boox annotation import he must quit the AlReaderX app?
P.S.
Kobo seems to be also using the SQLite database, but I'm not sure if it holds it open all the time.
|
The Kobo devices close the database when they connect to a PC. In fact, they unmount the partition and load something to present it as a mass storage device. Or at least they are supposed to. There have been bugs

And I know all about those problems.
There is no current way to do this. But, adding a mechanism to do a warning or prompt is a good idea. I think adding an extra method in the API to return a message to be displayed or none or an empty string. Then the plugin could display this with a continue/cancel type prompt when the annotation fetch is started. I'd have to check the code to make sure there is a good place to do it, but, it should work.