View Single Post
Old 01-06-2016, 01:56 PM   #8
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by eschwartz View Post
The unsurprisingly-named and -located:

Code:
from calibre.ebooks import BOOK_EXTENSIONS
And some people use ~/Downloads as an auto-add folder.

...

How do I find these things out? I take a look at how calibre adds things, in calibre.gui2.add_to_library and calibre.gui2.auto_add
Thanks!

...although I see the auto-adder ignores some of those file types, so probably I would be better off using "from calibre.gui2.auto-add import AUTO_ADDED" in this case?

Last edited by Phssthpok; 01-06-2016 at 02:05 PM.
Phssthpok is offline   Reply With Quote