Quote:
Originally Posted by chris33
Hi all,
This is following thread:
Calibre > Plugins > Reload this Page New to plugin: need help on reference guide
Which should be moved here as DaltonST suggests.
I would like to update the metadata field values from a modifed exported opf file.
I don't feel I can reimport that opf as a single import/update.
I can parse it and update fields one by one.
I'm not sure how to access the resources probably with something like:
Code:
self.gui.iactions['Edit Metadata'].edit_metadata()....
but cannot put a hand on the fields.
What do you recommend ?
Thank you
|
Does calibre.db.cache.set_field() (gui.library_view.model().db.new_api.set_field()) do what you want?