mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Driver for the LongShine ShineBook
This commit is contained in:
parent
f703ad42dd
commit
2668df9f93
@ -462,6 +462,7 @@ plugins += [
|
||||
ILIAD,
|
||||
IREXDR1000,
|
||||
JETBOOK,
|
||||
SHINEBOOK,
|
||||
KINDLE,
|
||||
KINDLE2,
|
||||
KINDLE_DX,
|
||||
@ -480,7 +481,6 @@ plugins += [
|
||||
POCKETBOOK360,
|
||||
GER2,
|
||||
ITALICA,
|
||||
SHINEBOOK,
|
||||
ECLICTO,
|
||||
DBOOK,
|
||||
BOOX,
|
||||
|
@ -16,6 +16,7 @@ Windows PNP strings:
|
||||
'''
|
||||
|
||||
from calibre.devices.usbms.driver import USBMS
|
||||
from calibre.constants import iswindows
|
||||
|
||||
class EB600(USBMS):
|
||||
|
||||
@ -81,6 +82,19 @@ class SHINEBOOK(EB600):
|
||||
|
||||
VENDOR_NAME = 'LONGSHIN'
|
||||
WINDOWS_MAIN_MEM = 'ESHINEBOOK'
|
||||
MAIN_MEMORY_VOLUME_LABEL = 'ShineBook Main Memory'
|
||||
STORAGE_CARD_VOLUME_LABEL = 'ShineBook Storage Card'
|
||||
|
||||
|
||||
@classmethod
|
||||
def can_handle(cls, dev, debug=False):
|
||||
try:
|
||||
if not iswindows:
|
||||
return dev[4] == 'ShineBook'
|
||||
except:
|
||||
return True
|
||||
|
||||
|
||||
|
||||
class POCKETBOOK360(EB600):
|
||||
|
||||
|
@ -81,7 +81,7 @@ Device Integration
|
||||
|
||||
What devices does |app| support?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
At the moment |app| has full support for the SONY PRS 300/500/505/600/700/900, Barnes & Noble Nook, Cybook Gen 3/Opus, Amazon Kindle 1/2/DX, Netronix EB600, Ectaco Jetbook, BeBook/BeBook Mini, Irex Illiad/DR1000, Foxit eSlick, PocketBook 360, Italica, eClicto, Iriver Story, Airis dBook, various Android phones and the iPhone. In addition, using the :guilabel:`Save to disk` function you can use it with any ebook reader that exports itself as a USB disk.
|
||||
At the moment |app| has full support for the SONY PRS 300/500/505/600/700/900, Barnes & Noble Nook, Cybook Gen 3/Opus, Amazon Kindle 1/2/DX, Longshine ShineBook, Ectaco Jetbook, BeBook/BeBook Mini, Irex Illiad/DR1000, Foxit eSlick, PocketBook 360, Italica, eClicto, Iriver Story, Airis dBook, various Android phones and the iPhone. In addition, using the :guilabel:`Save to disk` function you can use it with any ebook reader that exports itself as a USB disk.
|
||||
|
||||
How can I help get my device supported in |app|?
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
@ -78,7 +78,7 @@ def main():
|
||||
# On some OS X computers launchd apparently tries to
|
||||
# launch the last run process from the bundle
|
||||
from calibre.gui2.main import main as gui_main
|
||||
return gui_main([])
|
||||
return gui_main(['calibre'])
|
||||
address = cPickle.loads(unhexlify(os.environ['CALIBRE_WORKER_ADDRESS']))
|
||||
key = unhexlify(os.environ['CALIBRE_WORKER_KEY'])
|
||||
resultf = unhexlify(os.environ['CALIBRE_WORKER_RESULT'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user