mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user