From 3da2ef7230a7255f22d2ed59b6e486a775b02e2e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 28 Oct 2010 11:07:29 -0600 Subject: [PATCH] Fix #7237 (New device Pico Life BK6001) --- src/calibre/customize/builtins.py | 4 +++- src/calibre/devices/teclast/driver.py | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/calibre/customize/builtins.py b/src/calibre/customize/builtins.py index 772a2d47df..2945cc6604 100644 --- a/src/calibre/customize/builtins.py +++ b/src/calibre/customize/builtins.py @@ -471,7 +471,8 @@ from calibre.devices.iriver.driver import IRIVER_STORY from calibre.devices.binatone.driver import README 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, SOVOS +from calibre.devices.teclast.driver import TECLAST_K3, NEWSMY, IPAPYRUS, \ + SOVOS, PICO from calibre.devices.sne.driver import SNE from calibre.devices.misc import PALMPRE, AVANT, SWEEX, PDNOVEL, KOGAN, \ GEMEI, VELOCITYMICRO, PDNOVEL_KOBO @@ -572,6 +573,7 @@ plugins += [ ELONEX, TECLAST_K3, NEWSMY, + PICO, IPAPYRUS, SOVOS, EDGE, diff --git a/src/calibre/devices/teclast/driver.py b/src/calibre/devices/teclast/driver.py index 2055ff9306..b9ec554cee 100644 --- a/src/calibre/devices/teclast/driver.py +++ b/src/calibre/devices/teclast/driver.py @@ -41,6 +41,15 @@ class NEWSMY(TECLAST_K3): WINDOWS_MAIN_MEM = 'NEWSMY' WINDOWS_CARD_A_MEM = 'USBDISK____SD' +class PICO(NEWSMY): + name = 'Pico device interface' + gui_name = 'Pico' + description = _('Communicate with the Pico reader.') + + WINDOWS_MAIN_MEM = 'USBDISK__USER' + EBOOK_DIR_MAIN = 'Books' + FORMATS = ['EPUB', 'FB2', 'TXT', 'LRC', 'PDB', 'PDF', 'HTML', 'WTXT'] + class IPAPYRUS(TECLAST_K3): name = 'iPapyrus device interface'