I'd like to understand the calibre metadata structure better. If I know the path/to/library and a book's id within that library, is it possible to access metadata (read only) via a simple script using the Windows commandline method:
Code:
calibre-debug path/to/myscript.py
I've used some commands under the GUI in plugins, e.g.
Code:
db = self.gui.current_db
my_title = db.new_api.field_for('title', my_bookid)
but I don't know how to use those in a simple script.