Slight detection changes for Cybooks.

This commit is contained in:
John Schember 2010-01-07 19:07:55 -05:00
parent bf0659d691
commit 05a15302ae
2 changed files with 2 additions and 3 deletions

View File

@ -455,6 +455,7 @@ plugins += [
TCROutput,
TXTOutput,
]
# Order here matters. The first matched device is the one used.
plugins += [
HANLINV3,
HANLINV5,

View File

@ -70,8 +70,6 @@ class CYBOOK_OPUS(CYBOOKG3):
author = 'John Schember'
supported_platforms = ['windows', 'osx', 'linux']
FORMATS = ['epub', 'pdf', 'txt']
VENDOR_ID = [0x0bda]
PRODUCT_ID = [0x0703]
BCD = [0x110]
@ -90,5 +88,5 @@ class CYBOOK_OPUS(CYBOOKG3):
@classmethod
def can_handle(cls, device_info, debug=False):
if isunix:
return device_info[3] == 'Bookeen'
return device_info[3] == 'Bookeen' and device_info[4] == 'Cybook Opus'
return True