View Single Post
Old 03-27-2016, 06:41 PM   #733
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Reducing the number of custom columns will definitely have *some* performance impact, although how much in the grand scheme of things ???

P.S. Change:
Code:
cache = init_cache(library_path = '/Users/jasper/Documents/Calibre Test Library/')
to
Code:
from calibre.utils.config import prefs
cache = init_cache(library_path = prefs['library_path'])
That way you use the default library path, instead of requiring users to modify the script.

Last edited by eschwartz; 03-27-2016 at 06:53 PM.
eschwartz is offline   Reply With Quote