diff --git a/src/calibre/customize/builtins.py b/src/calibre/customize/builtins.py index b29d67065d..6258434b1d 100644 --- a/src/calibre/customize/builtins.py +++ b/src/calibre/customize/builtins.py @@ -255,7 +255,7 @@ class LRXMetadataReader(MetadataReaderPlugin): class MOBIMetadataReader(MetadataReaderPlugin): name = 'Read MOBI metadata' - file_types = set(['mobi', 'prc', 'azw', 'azw4']) + file_types = set(['mobi', 'prc', 'azw', 'azw4', 'pobi']) description = _('Read metadata from %s files')%'MOBI' def get_metadata(self, stream, ftype): diff --git a/src/calibre/devices/kindle/driver.py b/src/calibre/devices/kindle/driver.py index 35a73f86f0..78b4368950 100644 --- a/src/calibre/devices/kindle/driver.py +++ b/src/calibre/devices/kindle/driver.py @@ -287,7 +287,7 @@ class KINDLE2(KINDLE): name = 'Kindle 2/3 Device Interface' description = _('Communicate with the Kindle 2/3 eBook reader.') - FORMATS = KINDLE.FORMATS + ['pdf', 'azw4'] + FORMATS = KINDLE.FORMATS + ['pdf', 'azw4', 'pobi'] DELETE_EXTS = KINDLE.DELETE_EXTS PRODUCT_ID = [0x0002, 0x0004] diff --git a/src/calibre/ebooks/__init__.py b/src/calibre/ebooks/__init__.py index ebb30df8ab..5cfddda2f3 100644 --- a/src/calibre/ebooks/__init__.py +++ b/src/calibre/ebooks/__init__.py @@ -30,7 +30,7 @@ BOOK_EXTENSIONS = ['lrf', 'rar', 'zip', 'rtf', 'lit', 'txt', 'txtz', 'text', 'ht 'html', 'htmlz', 'xhtml', 'pdf', 'pdb', 'pdr', 'prc', 'mobi', 'azw', 'doc', 'epub', 'fb2', 'djv', 'djvu', 'lrx', 'cbr', 'cbz', 'cbc', 'oebzip', 'rb', 'imp', 'odt', 'chm', 'tpz', 'azw1', 'pml', 'pmlz', 'mbp', 'tan', 'snb', - 'xps', 'oxps', 'azw4', 'book', 'zbf'] + 'xps', 'oxps', 'azw4', 'book', 'zbf', 'pobi'] class HTMLRenderer(object):