View Single Post
Old 04-01-2018, 09:18 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,499
Karma: 10205098
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You use the database API which is documented in the manual IIRC something like

self.current_db.new_api.add_format(book_id, format, path)

as for how to run jobs just look at one of the existing plugins that does this.
kovidgoyal is offline   Reply With Quote