mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #8021 (New Device: Trekstore eBook Player 7)
This commit is contained in:
parent
64b81e6e9a
commit
4b7cde22d2
@ -477,7 +477,8 @@ from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY, IPAPYRUS, \
|
|||||||
SOVOS, PICO, SUNSTECH_EB700
|
SOVOS, PICO, SUNSTECH_EB700
|
||||||
from calibre.devices.sne.driver import SNE
|
from calibre.devices.sne.driver import SNE
|
||||||
from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, KOGAN, \
|
from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, KOGAN, \
|
||||||
GEMEI, VELOCITYMICRO, PDNOVEL_KOBO, Q600, LUMIREAD, ALURATEK_COLOR
|
GEMEI, VELOCITYMICRO, PDNOVEL_KOBO, Q600, LUMIREAD, ALURATEK_COLOR, \
|
||||||
|
TREKSTOR
|
||||||
from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG
|
from calibre.devices.folder_device.driver import FOLDER_DEVICE_FOR_CONFIG
|
||||||
from calibre.devices.kobo.driver import KOBO
|
from calibre.devices.kobo.driver import KOBO
|
||||||
from calibre.devices.bambook.driver import BAMBOOK
|
from calibre.devices.bambook.driver import BAMBOOK
|
||||||
@ -603,6 +604,7 @@ plugins += [
|
|||||||
LUMIREAD,
|
LUMIREAD,
|
||||||
ALURATEK_COLOR,
|
ALURATEK_COLOR,
|
||||||
BAMBOOK,
|
BAMBOOK,
|
||||||
|
TREKSTOR,
|
||||||
ITUNES,
|
ITUNES,
|
||||||
]
|
]
|
||||||
plugins += [x for x in list(locals().values()) if isinstance(x, type) and \
|
plugins += [x for x in list(locals().values()) if isinstance(x, type) and \
|
||||||
|
@ -224,3 +224,23 @@ class ALURATEK_COLOR(USBMS):
|
|||||||
VENDOR_NAME = 'USB_2.0'
|
VENDOR_NAME = 'USB_2.0'
|
||||||
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'USB_FLASH_DRIVER'
|
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'USB_FLASH_DRIVER'
|
||||||
|
|
||||||
|
class TREKSTOR(USBMS):
|
||||||
|
|
||||||
|
name = 'Trekstor E-book player device interface'
|
||||||
|
gui_name = 'Trekstor'
|
||||||
|
description = _('Communicate with the Trekstor')
|
||||||
|
author = 'Kovid Goyal'
|
||||||
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
|
|
||||||
|
# Ordered list of supported formats
|
||||||
|
FORMATS = ['epub', 'txt', 'pdf']
|
||||||
|
|
||||||
|
VENDOR_ID = [0x1e68]
|
||||||
|
PRODUCT_ID = [0x0041]
|
||||||
|
BCD = [0x0002]
|
||||||
|
|
||||||
|
EBOOK_DIR_MAIN = 'Ebooks'
|
||||||
|
|
||||||
|
VENDOR_NAME = 'TREKSTOR'
|
||||||
|
WINDOWS_MAIN_MEM = WINDOWS_CARD_A_MEM = 'EBOOK_PLAYER_7'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user