mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Support for the Sigmatek EBK52
This commit is contained in:
parent
a3219557b1
commit
730157160b
@ -445,7 +445,7 @@ from calibre.devices.nook.driver import NOOK
|
||||
from calibre.devices.prs505.driver import PRS505
|
||||
from calibre.devices.android.driver import ANDROID, S60
|
||||
from calibre.devices.nokia.driver import N770, N810, E71X
|
||||
from calibre.devices.eslick.driver import ESLICK
|
||||
from calibre.devices.eslick.driver import ESLICK, EBK52
|
||||
from calibre.devices.nuut2.driver import NUUT2
|
||||
from calibre.devices.iriver.driver import IRIVER_STORY
|
||||
from calibre.devices.binatone.driver import README
|
||||
@ -519,6 +519,7 @@ plugins += [
|
||||
N810,
|
||||
COOL_ER,
|
||||
ESLICK,
|
||||
EBK52,
|
||||
NUUT2,
|
||||
IRIVER_STORY,
|
||||
GER2,
|
||||
|
@ -36,4 +36,29 @@ class ESLICK(USBMS):
|
||||
|
||||
SUPPORTS_SUB_DIRS = True
|
||||
|
||||
@classmethod
|
||||
def can_handle(cls, dev, debug=False):
|
||||
return (dev[3], dev[4]) != ('philips', 'Philips d')
|
||||
|
||||
|
||||
|
||||
class EBK52(ESLICK):
|
||||
|
||||
name = 'EBK-52 Device Interface'
|
||||
gui_name = 'Sigmatek EBK'
|
||||
description = _('Communicate with the Sigmatek eBook reader.')
|
||||
|
||||
FORMATS = ['epub', 'fb2', 'pdf', 'txt']
|
||||
|
||||
VENDOR_NAME = ''
|
||||
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'EBOOK_READER'
|
||||
|
||||
MAIN_MEMORY_VOLUME_LABEL = 'Sigmatek Main Memory'
|
||||
STORAGE_CARD_VOLUME_LABEL = 'Sigmatek Storage Card'
|
||||
|
||||
|
||||
@classmethod
|
||||
def can_handle(cls, dev, debug=False):
|
||||
return (dev[3], dev[4]) == ('philips', 'Philips d')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user