View Single Post
Old 04-01-2018, 10: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,744
Karma: 10215946
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 online now   Reply With Quote