Add new cover image type for Kobo driver

Kobo driver: Fix book covers not showing for sideloaded kepubs on the
book details screen, with newer Kobo firmware. Fixes #1260279 [Add new cover image type for Kobo driver](https://bugs.launchpad.net/calibre/+bug/1260279)

As reported http://www.mobileread.com/forums/showthread.php?t=228973,
the recent Kobo drivers have added new cover image type. This has been
on the Touch for a while, but only now seems to be being generated for
the newer ereaders.
This commit is contained in:
David Forrester 2013-12-12 22:07:56 +11:00 committed by Kovid Goyal
parent 7b1a1eb804
commit 75abe74e20

View File

@ -1382,13 +1382,13 @@ class KOBOTOUCH(KOBO):
' - N3_FULL.parsed':[(758,1024),0, 99,True,], # Used for screensaver, home screen ' - N3_FULL.parsed':[(758,1024),0, 99,True,], # Used for screensaver, home screen
' - N3_LIBRARY_FULL.parsed':[(355,479),0, 99,False,], # Used for Details screen ' - N3_LIBRARY_FULL.parsed':[(355,479),0, 99,False,], # Used for Details screen
' - N3_LIBRARY_GRID.parsed':[(149,201),0, 99,False,], # Used for library lists ' - N3_LIBRARY_GRID.parsed':[(149,201),0, 99,False,], # Used for library lists
# ' - N3_LIBRARY_LIST.parsed':[(60,90),0, 53,], ' - AndroidBookLoadTablet_Aspect.parsed':[(355,479), 88, 99,False,], # In some cases this is used for Details screen
# ' - N3_LIBRARY_SHELF.parsed': [(40,60),0, 52,],
} }
AURA_HD_COVER_FILE_ENDINGS = { AURA_HD_COVER_FILE_ENDINGS = {
' - N3_FULL.parsed': [(1080,1440), 0, 99,True,], # Used for screensaver, home screen ' - N3_FULL.parsed': [(1080,1440), 0, 99,True,], # Used for screensaver, home screen
' - N3_LIBRARY_FULL.parsed':[(355, 471), 0, 99,False,], # Used for Details screen ' - N3_LIBRARY_FULL.parsed':[(355, 471), 0, 99,False,], # Used for Details screen
' - N3_LIBRARY_GRID.parsed':[(149, 198), 0, 99,False,], # Used for library lists ' - N3_LIBRARY_GRID.parsed':[(149, 198), 0, 99,False,], # Used for library lists
' - AndroidBookLoadTablet_Aspect.parsed':[(355, 471), 88, 99,False,], # In some cases this is used for Details screen
} }
# Following are the sizes used with pre2.1.4 firmware # Following are the sizes used with pre2.1.4 firmware
# COVER_FILE_ENDINGS = { # COVER_FILE_ENDINGS = {