View Single Post
Old 04-03-2012, 12:13 AM   #13
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: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The template just uses simple python string interpolation, you will need to change code in browse.py to change the nature of the get button.

As for conversions, there is no good place to do it. The content server is designed to be read only at the moment. It should not make changes to the calibre library database. You can run a cnversion into a temporary file if you want, I suggest using simple_worker.py to do it, call the conversion functions in conversion/cli.py with fork_job()
kovidgoyal is offline   Reply With Quote