@JimmXinu: set_custom and set_metadata dont operate ont he db so there is no question of notifying the GUI
@DaltonST: The correct way for a plugin to access/modify the db is to use the python db apis, not calibredb. However, as I said in my original post, the current design of calibredb which opens the database separately will be replaced by one that connects to a running instance of the calibre GUI/calibre server via IPC to perform its actions. So adapting your plugins would be as simple as passing in an extra parameter such as
--use-running-server
to calibredb.
|