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:
Kovid Goyal 2019-11-26 22:13:13 +05:30
parent 6144b06e47
commit c821f59818
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 18 additions and 2 deletions

View File

@ -710,7 +710,7 @@ plugins += input_profiles + output_profiles
# 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 @@ plugins += [
HANLINV3,
HANLINV5,
BLACKBERRY, PLAYBOOK,
CYBOOK, ORIZON, MUSE,
CYBOOK, ORIZON, MUSE, DIVA,
ILIAD,
IREXDR1000,
IREXDR800,

View File

@ -139,3 +139,19 @@ class MUSE(CYBOOK):
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