@Charles - as I mentioned above it is Calibre code that is doing the updating, the same code used at the end of downloading metadata. It is the same approach I used for this plugin and Extract ISBN - reusing Calibre's existing code to update a bunch of records by being given some Metadata objects with just the fields desired to be changed set on them (in this case two custom columns).
And that particular code (inside edit_metadata.py) does indeed delay the commit.
|