Fix #1596801 - Unable to connect to Kobo

Missed adding some properties for the KOBO driver that is used by the
older devices.
This commit is contained in:
David 2016-06-28 22:02:04 +10:00
parent 4c3dca05ae
commit 6da4a6c7b2

View File

@ -64,7 +64,7 @@ class KOBO(USBMS):
gui_name = 'Kobo Reader'
description = _('Communicate with the Kobo Reader')
author = 'Timothy Legge and David Forrester'
version = (2, 1, 11)
version = (2, 2, 0)
dbversion = 0
fwversion = 0
@ -910,6 +910,13 @@ class KOBO(USBMS):
def collections_columns(self):
opts = self.settings()
return opts.extra_customization[self.OPT_COLLECTIONS]
@property
def read_metadata(self):
return self.settings().read_metadata
@property
def show_previews(self):
opts = self.settings()
return opts.extra_customization[self.OPT_SHOW_PREVIEWS] == False
def sync_booklists(self, booklists, end_session=True):