Driver for Blackberry Playbook

This commit is contained in:
Kovid Goyal 2011-12-01 08:48:05 +05:30
parent 61e828b2c2
commit 3e71157607
2 changed files with 25 additions and 2 deletions

View File

@ -545,7 +545,7 @@ from calibre.customize.profiles import input_profiles, output_profiles
from calibre.devices.apple.driver import ITUNES from calibre.devices.apple.driver import ITUNES
from calibre.devices.hanlin.driver import HANLINV3, HANLINV5, BOOX, SPECTRA from calibre.devices.hanlin.driver import HANLINV3, HANLINV5, BOOX, SPECTRA
from calibre.devices.blackberry.driver import BLACKBERRY from calibre.devices.blackberry.driver import BLACKBERRY, PLAYBOOK
from calibre.devices.cybook.driver import CYBOOK, ORIZON from calibre.devices.cybook.driver import CYBOOK, ORIZON
from calibre.devices.eb600.driver import (EB600, COOL_ER, SHINEBOOK, from calibre.devices.eb600.driver import (EB600, COOL_ER, SHINEBOOK,
POCKETBOOK360, GER2, ITALICA, ECLICTO, DBOOK, INVESBOOK, POCKETBOOK360, GER2, ITALICA, ECLICTO, DBOOK, INVESBOOK,
@ -646,7 +646,7 @@ plugins += [
plugins += [ plugins += [
HANLINV3, HANLINV3,
HANLINV5, HANLINV5,
BLACKBERRY, BLACKBERRY, PLAYBOOK,
CYBOOK, CYBOOK,
ORIZON, ORIZON,
ILIAD, ILIAD,

View File

@ -28,3 +28,26 @@ class BLACKBERRY(USBMS):
EBOOK_DIR_MAIN = 'eBooks' EBOOK_DIR_MAIN = 'eBooks'
SUPPORTS_SUB_DIRS = True SUPPORTS_SUB_DIRS = True
class PLAYBOOK(USBMS):
name = 'Blackberry Playbook Interface'
gui_name = 'Playbook'
description = _('Communicate with the Blackberry playbook.')
author = _('Kovid Goyal')
supported_platforms = ['windows', 'linux', 'osx']
# Ordered list of supported formats
FORMATS = ['epub']
VENDOR_ID = [0x0fca]
PRODUCT_ID = [0x8010]
BCD = [0x1]
VENDOR_NAME = 'GENERIC-'
WINDOWS_MAIN_MEM = 'MULTI-CARD'
MAIN_MEMORY_VOLUME_LABEL = 'Blackberry'
EBOOK_DIR_MAIN = 'media/books'
SUPPORTS_SUB_DIRS = True