View Single Post
Old 10-14-2012, 01:16 AM   #1
elgabo
Member
elgabo doesn't litterelgabo doesn't litter
 
Posts: 15
Karma: 150
Join Date: Oct 2009
Device: kindle 2, Kindle Touch, Kindle Paperwhite
kindle paperwhite thumbnail fix

In the post Kindle paperwhite we are discussing about thumbnail not showing on the Kindle Paperwhite because the size is too small.

Based on [Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod thread I just write this little plugging to modify the size of the thumbnail.
Code:
import os
import struct

from calibre.devices.kindle.driver import KINDLE2


class KINDLE2(KINDLE2):
    name = '%s Paperwhite thumnail FIX MOD' % KINDLE2.name.replace('/', ', ')
    author = '%s, ElGabo' % KINDLE2.author
    description = '%s Modify the thumbnail size for Paperwhite.' % KINDLE2.description
    THUMBNAIL_HEIGHT = 330

This work fine. I only worried about I don't know how just do this for the Kindle Paperwhite and not for the other kindle 2,3,4,touch.

If anybody knows please advice.

Gabo
Attached Files
File Type: zip Paperwhite thumbnail FIX.zip (342 Bytes, 3187 views)

Last edited by elgabo; 10-14-2012 at 10:04 AM. Reason: correct link
elgabo is offline   Reply With Quote