View Single Post
Old 12-29-2018, 10:22 AM   #1
Junior Member
jmoore914 began at the beginning.
Posts: 5
Karma: 10
Join Date: Dec 2018
Device: Kindle
Deleting book from database

Hi all,

I'm trying to write a plugin and could use a bit of help. Given a path for an ebook, I would like to delete that book from the database. I can delete the file from my computer using normal python methods but I can't seem to find a way to remove it from calibre.

Apologies if this is super obvious. I searched through the API docs and was only able to find functions to remove a book from a device.

Bonus question: Is there any way to automatically trigger a plug in to run whenever the metadata for a book is changed?

Thanks so much in advance!
jmoore914 is offline   Reply With Quote