Thread
:
Querying Metadata from outside the GUI?
View Single Post
07-17-2016, 01:51 PM
#
2
kovidgoyal
creator of calibre
Posts: 45,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can always load a db, like this:
from calibre.library import db
db = db('path/to/library/folder')
that will give you the same object as gui.current_db
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS