Hey folks,
I am trying to understand if I can write a Python code running
not as a plugin which will be manipulating Calibre without UI. Example: add book to the specified Calibre library. Obviously starting calibredb command is one option, but I'm interested if I can just `import` some libraries and manipulate database in-process. In pseudocode:
Code:
import calibre.database as db
database = db.OpenDb('/path/to/library')
database.AddBook('/path/to/book.epub')
database.Close()
Thanks!