mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update Kobo firmware version. AGAIN.
Kobo are updating the firmware a lot faster than in the past. The latest is 3.1.0. The supported version is being set to 3.1.5 in case any bug fix only versions are released. Also, commented out a couple of debug lines to reduce the clutter when testing. Fixes #1257143 [Update to support Kobo firmware 3.1.0](https://bugs.launchpad.net/calibre/+bug/1257143)
This commit is contained in:
parent
6861f028c9
commit
eabb3078e8
@ -1254,7 +1254,7 @@ class KOBOTOUCH(KOBO):
|
|||||||
min_dbversion_activity = 77
|
min_dbversion_activity = 77
|
||||||
min_dbversion_keywords = 82
|
min_dbversion_keywords = 82
|
||||||
|
|
||||||
max_supported_fwversion = (3, 0, 5)
|
max_supported_fwversion = (3, 1, 5)
|
||||||
min_fwversion_shelves = (2, 0, 0)
|
min_fwversion_shelves = (2, 0, 0)
|
||||||
min_fwversion_images_on_sdcard = (2, 4, 1)
|
min_fwversion_images_on_sdcard = (2, 4, 1)
|
||||||
min_fwversion_images_tree = (2, 9, 0) # Cover images stored in tree under .kobo-images
|
min_fwversion_images_tree = (2, 9, 0) # Cover images stored in tree under .kobo-images
|
||||||
@ -1986,13 +1986,13 @@ class KOBOTOUCH(KOBO):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def filename_callback(self, path, mi):
|
def filename_callback(self, path, mi):
|
||||||
debug_print("KoboTouch:filename_callback:Path - {0}".format(path))
|
# debug_print("KoboTouch:filename_callback:Path - {0}".format(path))
|
||||||
|
|
||||||
idx = path.rfind('.')
|
idx = path.rfind('.')
|
||||||
ext = path[idx:]
|
ext = path[idx:]
|
||||||
if ext == KEPUB_EXT:
|
if ext == KEPUB_EXT:
|
||||||
path = path + EPUB_EXT
|
path = path + EPUB_EXT
|
||||||
debug_print("KoboTouch:filename_callback:New path - {0}".format(path))
|
# debug_print("KoboTouch:filename_callback:New path - {0}".format(path))
|
||||||
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user