Quote:
Originally Posted by eschwartz
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?