mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Experimental driver for the Booq Avant
This commit is contained in:
parent
2be46c1e75
commit
a80eda4e5d
@ -454,7 +454,7 @@ from calibre.devices.hanvon.driver import N516, EB511, ALEX, AZBOOKA
|
|||||||
from calibre.devices.edge.driver import EDGE
|
from calibre.devices.edge.driver import EDGE
|
||||||
from calibre.devices.teclast.driver import TECLAST_K3
|
from calibre.devices.teclast.driver import TECLAST_K3
|
||||||
from calibre.devices.sne.driver import SNE
|
from calibre.devices.sne.driver import SNE
|
||||||
from calibre.devices.misc import PALMPRE, KOBO
|
from calibre.devices.misc import PALMPRE, KOBO, AVANT
|
||||||
|
|
||||||
from calibre.ebooks.metadata.fetch import GoogleBooks, ISBNDB, Amazon
|
from calibre.ebooks.metadata.fetch import GoogleBooks, ISBNDB, Amazon
|
||||||
from calibre.library.catalog import CSV_XML, EPUB_MOBI
|
from calibre.library.catalog import CSV_XML, EPUB_MOBI
|
||||||
@ -539,6 +539,7 @@ plugins += [
|
|||||||
PALMPRE,
|
PALMPRE,
|
||||||
KOBO,
|
KOBO,
|
||||||
AZBOOKA,
|
AZBOOKA,
|
||||||
|
AVANT,
|
||||||
]
|
]
|
||||||
plugins += [x for x in list(locals().values()) if isinstance(x, type) and \
|
plugins += [x for x in list(locals().values()) if isinstance(x, type) and \
|
||||||
x.__name__.endswith('MetadataReader')]
|
x.__name__.endswith('MetadataReader')]
|
||||||
|
@ -49,3 +49,22 @@ class KOBO(USBMS):
|
|||||||
|
|
||||||
EBOOK_DIR_MAIN = ''
|
EBOOK_DIR_MAIN = ''
|
||||||
|
|
||||||
|
class AVANT(USBMS):
|
||||||
|
name = 'Booq Avant Device Interface'
|
||||||
|
gui_name = 'Avant'
|
||||||
|
description = _('Communicate with the Booq Avant')
|
||||||
|
author = 'Kovid Goyal'
|
||||||
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
|
# Ordered list of supported formats
|
||||||
|
FORMATS = ['epub', 'fb2', 'html', 'rtf', 'pdf', 'txt']
|
||||||
|
|
||||||
|
VENDOR_ID = [0x0525]
|
||||||
|
PRODUCT_ID = [0xa4a5]
|
||||||
|
BCD = [0x0319]
|
||||||
|
|
||||||
|
VENDOR_NAME = 'E-BOOK'
|
||||||
|
WINDOWS_MAIN_MEM = 'READER'
|
||||||
|
|
||||||
|
EBOOK_DIR_MAIN = 'E-books'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user