mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Slight detection changes for Cybooks.
This commit is contained in:
parent
bf0659d691
commit
05a15302ae
@ -455,6 +455,7 @@ plugins += [
|
|||||||
TCROutput,
|
TCROutput,
|
||||||
TXTOutput,
|
TXTOutput,
|
||||||
]
|
]
|
||||||
|
# Order here matters. The first matched device is the one used.
|
||||||
plugins += [
|
plugins += [
|
||||||
HANLINV3,
|
HANLINV3,
|
||||||
HANLINV5,
|
HANLINV5,
|
||||||
|
@ -70,8 +70,6 @@ class CYBOOK_OPUS(CYBOOKG3):
|
|||||||
author = 'John Schember'
|
author = 'John Schember'
|
||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
FORMATS = ['epub', 'pdf', 'txt']
|
|
||||||
|
|
||||||
VENDOR_ID = [0x0bda]
|
VENDOR_ID = [0x0bda]
|
||||||
PRODUCT_ID = [0x0703]
|
PRODUCT_ID = [0x0703]
|
||||||
BCD = [0x110]
|
BCD = [0x110]
|
||||||
@ -90,5 +88,5 @@ class CYBOOK_OPUS(CYBOOKG3):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def can_handle(cls, device_info, debug=False):
|
def can_handle(cls, device_info, debug=False):
|
||||||
if isunix:
|
if isunix:
|
||||||
return device_info[3] == 'Bookeen'
|
return device_info[3] == 'Bookeen' and device_info[4] == 'Cybook Opus'
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user