View Single Post
Old 12-12-2015, 08:58 AM   #7
stanislas
Member
stanislas began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2015
Device: Amazon Kindle 4
Ok, thanks - now everything launches fine.
But still gui doesn't change.
Code:
mi = self.gui.library_view.model().db.get_metadata(rows[0].row())
print(self.db.new_api.field_for('title', book_id))
self.db.new_api.set_field('title',{book_id:'STH'})
self.gui.iactions['Edit Metadata'].refresh_books_after_metadata_edit({book_id})

Last edited by stanislas; 12-12-2015 at 09:23 AM.
stanislas is offline   Reply With Quote