mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use an invalid vendor ID for the folder_device
This commit is contained in:
parent
07db04903b
commit
0a4dd08686
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user