Quote:
Originally Posted by capink
I am not familiar with the count pages plugin, so I cannot give a definitive answer to this.
All I can say, since those changes are going to happen on different actions, there is no risk of corruption, unless count pages starts another thread. And even in the event of a separate threads, calibre is thread safe to the best of my understanding.
|
Count pages should be safe. It does run in a job, so if something else updated the same columns, while it was running, you would lose that change.
Also, Count Pages supports being called directly from plugins with support for choosing which statistics to calculate and a callback function for the results. I don't remember if there is an option to suppress the prompt. It's been a while since I needed to look at it. I added this at the request of another developer for a private plugin they had.