Support for the Newsmy reader. Fixes #5559 (Adding new eReader device)

This commit is contained in:
Kovid Goyal 2010-05-20 21:42:53 -06:00
parent b2d4f0d7be
commit 12a466e2ff
2 changed files with 15 additions and 1 deletions

View File

@ -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,

View File

@ -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