mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-01 02:46:04 +01:00
Driver for the new Bookeen Diva HD
Fixes #1854063 [Driver for Bookeen Diva HD](https://bugs.launchpad.net/calibre/+bug/1854063)
This commit is contained in:
parent
6144b06e47
commit
c821f59818
2 changed files with 18 additions and 2 deletions
|
|
@ -710,7 +710,7 @@ def set_metadata(self, stream, mi, type):
|
|||
# Device driver plugins {{{
|
||||
from calibre.devices.hanlin.driver import HANLINV3, HANLINV5, BOOX, SPECTRA
|
||||
from calibre.devices.blackberry.driver import BLACKBERRY, PLAYBOOK
|
||||
from calibre.devices.cybook.driver import CYBOOK, ORIZON, MUSE
|
||||
from calibre.devices.cybook.driver import CYBOOK, ORIZON, MUSE, DIVA
|
||||
from calibre.devices.eb600.driver import (EB600, COOL_ER, SHINEBOOK, TOLINO,
|
||||
POCKETBOOK360, GER2, ITALICA, ECLICTO, DBOOK, INVESBOOK,
|
||||
BOOQ, ELONEX, POCKETBOOK301, MENTOR, POCKETBOOK602,
|
||||
|
|
@ -753,7 +753,7 @@ def set_metadata(self, stream, mi, type):
|
|||
HANLINV3,
|
||||
HANLINV5,
|
||||
BLACKBERRY, PLAYBOOK,
|
||||
CYBOOK, ORIZON, MUSE,
|
||||
CYBOOK, ORIZON, MUSE, DIVA,
|
||||
ILIAD,
|
||||
IREXDR1000,
|
||||
IREXDR800,
|
||||
|
|
|
|||
|
|
@ -139,3 +139,19 @@ def can_handle(cls, device_info, debug=False):
|
|||
if isunix:
|
||||
return device_info[3] == 'Bookeen' and device_info[4] in ('Cybook', 'Lev', 'Nolimbook', 'Letto', 'Nolim', 'Saga', 'NolimbookXL')
|
||||
return True
|
||||
|
||||
|
||||
class DIVA(CYBOOK):
|
||||
|
||||
name = 'Bookeen Diva HD Device Interface'
|
||||
gui_name = 'Diva HD'
|
||||
description = _('Communicate with the Bookeen Diva HD e-book reader.')
|
||||
author = 'Kovid Goyal'
|
||||
|
||||
VENDOR_ID = [0x1d6b]
|
||||
PRODUCT_ID = [0x0104]
|
||||
BCD = [0x100]
|
||||
|
||||
FORMATS = ['epub', 'html', 'fb2', 'txt', 'pdf']
|
||||
EBOOK_DIR_MAIN = 'Books'
|
||||
SCAN_FROM_ROOT = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue