View Single Post
Old 09-17-2014, 03:18 AM   #4
ClashTheBunny
Member
ClashTheBunny began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Sep 2014
Device: Kindle Paperwhite 2
Unhappy

Quote:
Originally Posted by eschwartz View Post
Maybe you need to extend the BOOK_EXTENSIONS?

https://github.com/kovidgoyal/calibr..._init__.py#L29
I looked into this and I don't see a place in the API documentation where this would be extendable. It seems that this is built into a plist for osx in the setup section of the source, which makes me think that maybe a humble plugin would not have much effect on the app.

I also don't see many FileTypePlugin plugins out there, maybe this is a fairly non-standard thing to try to add file types to the list. For example, the plugin that I started with, calibre-doc-input, adds support for the .doc extension, but it's already in the BOOK_EXTENSION list. It seems that even if it's not supported in calibre, it's in the BOOK_EXTENSION list to allow calibre to manage the type of document.
ClashTheBunny is offline   Reply With Quote