View Single Post
Old 02-02-2010, 10:20 AM   #22
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@itimpi: I thought of that, but I decided against it, both for the reasons that Starson17 gave and because it would be more 'magic' behavior that would get me when I least expect it. As for the environment variable, I don't generally use them in this way (as options), but I didn't find a different straightforward way of globally affecting both the calibre CLI programs and the GUI.

@Starson17: I first tried to do this in SQL directly against the database, but failed because some of the triggers refer to python functions. In addition, that process would break any 'non-standard' author_sort settings one has made. The way I did it permits one to select the books to change, open the bulk metadata editor, check the "Automatically set author sort" while leaving the author field empty, then 'run'. To run it globally, select everything. In fact I did just that after I found that slight variations in the author sort showed up as variations in the new catalog e-book.
chaley is offline   Reply With Quote