Use an invalid vendor ID for the folder_device

This commit is contained in:
Charles Haley 2010-05-16 20:37:49 +01:00
parent 07db04903b
commit 0a4dd08686
2 changed files with 4 additions and 4 deletions

View File

@ -28,6 +28,10 @@ class FOLDER_DEVICE(USBMS):
supported_platforms = ['windows', 'osx', 'linux']
FORMATS = ['epub', 'fb2', 'mobi', 'lrf', 'tcr', 'pmlz', 'lit', 'rtf', 'rb', 'pdf', 'oeb', 'txt', 'pdb']
VENDOR_ID = 0xffff
PRODUCT_ID = 0xffff
BCD = 0xffff
THUMBNAIL_HEIGHT = 68 # Height for thumbnails on device
CAN_SET_METADATA = True

View File

@ -225,10 +225,6 @@ class DeviceManager(Thread):
if hasattr(self.connected_device, 'disconnect_from_folder'):
self.connected_device.disconnect_from_folder()
# def connect_to_folder(self, path):
# return self.create_job(self._connect_to_folder, None,
# description=_('Connect to folder'))
def _books(self):
'''Get metadata from device'''
mainlist = self.device.books(oncard=None, end_session=False)