mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Linux and OSX driver for the Promedia ebook reader. Fixes #6286 (Promedia eBook reader (new device))
This commit is contained in:
parent
c9d31cb121
commit
9b4e480510
@ -460,7 +460,7 @@ from calibre.devices.hanvon.driver import N516, EB511, ALEX, AZBOOKA, THEBOOK
|
||||
from calibre.devices.edge.driver import EDGE
|
||||
from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY, IPAPYRUS
|
||||
from calibre.devices.sne.driver import SNE
|
||||
from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL
|
||||
from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, PROMEDIA
|
||||
from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG
|
||||
from calibre.devices.kobo.driver import KOBO
|
||||
|
||||
@ -564,6 +564,7 @@ plugins += [
|
||||
MENTOR,
|
||||
SWEEX,
|
||||
PDNOVEL,
|
||||
PROMEDIA,
|
||||
ITUNES,
|
||||
]
|
||||
plugins += [x for x in list(locals().values()) if isinstance(x, type) and \
|
||||
|
@ -96,3 +96,20 @@ class PDNOVEL(USBMS):
|
||||
with open('%s.jpg' % os.path.join(path, filename), 'wb') as coverfile:
|
||||
coverfile.write(coverdata[2])
|
||||
|
||||
class PROMEDIA(USBMS):
|
||||
|
||||
name = 'Promedia eBook Reader'
|
||||
gui_name = 'Promedia'
|
||||
description = _('Communicate with the Promedia eBook reader')
|
||||
author = 'Kovid Goyal'
|
||||
supported_platforms = ['windows', 'linux', 'osx']
|
||||
FORMATS = ['epub', 'rtf', 'pdf']
|
||||
|
||||
VENDOR_ID = [0x525]
|
||||
PRODUCT_ID = [0xa4a5]
|
||||
BCD = [0x319]
|
||||
|
||||
EBOOK_DIR_MAIN = 'calibre'
|
||||
SUPPORTS_SUB_DIRS = True
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user