mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Support for the Newsmy reader. Fixes #5559 (Adding new eReader device)
This commit is contained in:
parent
b2d4f0d7be
commit
12a466e2ff
@ -452,7 +452,7 @@ from calibre.devices.iriver.driver import IRIVER_STORY
|
|||||||
from calibre.devices.binatone.driver import README
|
from calibre.devices.binatone.driver import README
|
||||||
from calibre.devices.hanvon.driver import N516, EB511, ALEX, AZBOOKA
|
from calibre.devices.hanvon.driver import N516, EB511, ALEX, AZBOOKA
|
||||||
from calibre.devices.edge.driver import EDGE
|
from calibre.devices.edge.driver import EDGE
|
||||||
from calibre.devices.teclast.driver import TECLAST_K3
|
from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY
|
||||||
from calibre.devices.sne.driver import SNE
|
from calibre.devices.sne.driver import SNE
|
||||||
from calibre.devices.misc import PALMPRE, KOBO, AVANT
|
from calibre.devices.misc import PALMPRE, KOBO, AVANT
|
||||||
|
|
||||||
@ -533,6 +533,7 @@ plugins += [
|
|||||||
EB511,
|
EB511,
|
||||||
ELONEX,
|
ELONEX,
|
||||||
TECLAST_K3,
|
TECLAST_K3,
|
||||||
|
NEWSMY,
|
||||||
EDGE,
|
EDGE,
|
||||||
SNE,
|
SNE,
|
||||||
ALEX,
|
ALEX,
|
||||||
|
@ -39,4 +39,17 @@ class TECLAST_K3(USBMS):
|
|||||||
|
|
||||||
return drives
|
return drives
|
||||||
|
|
||||||
|
class NEWSMY(TECLAST_K3):
|
||||||
|
name = 'Newsmy device interface'
|
||||||
|
gui_name = 'Newsmy'
|
||||||
|
description = _('Communicate with the Newsmy reader.')
|
||||||
|
|
||||||
|
FORMATS = ['epub', 'fb2', 'pdb', 'html', 'pdf', 'txt', 'skt']
|
||||||
|
|
||||||
|
VENDOR_NAME = ''
|
||||||
|
WINDOWS_MAIN_MEM = 'NEWSMY'
|
||||||
|
WINDOWS_CARD_A_MEM = 'USBDISK____SD'
|
||||||
|
|
||||||
|
def windows_sort_drives(self, drives):
|
||||||
|
return drives
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user