~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/devices/kobo/driver.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mfrom: (1.5.10)
  • Revision ID: package-import@ubuntu.com-20140514181750-xyrxqa47dbw0qfhu
Tags: 1.36.0+dfsg-1
* New upstream release:
  - Fixes editing of metadata (Closes: #741638)

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
    dbversion = 0
70
70
    fwversion = 0
71
 
    supported_dbversion = 95
 
71
    supported_dbversion = 98
72
72
    has_kepubs = False
73
73
 
74
74
    supported_platforms = ['windows', 'osx', 'linux']
720
720
        return book
721
721
 
722
722
    def get_device_paths(self):
723
 
        paths, prefixes = {}, {}
 
723
        paths = {}
724
724
        for prefix, path, source_id in [
725
725
                ('main', 'metadata.calibre', 0),
726
726
                ('card_a', 'metadata.calibre', 1),
1265
1265
    min_dbversion_activity          = 77
1266
1266
    min_dbversion_keywords          = 82
1267
1267
 
1268
 
    max_supported_fwversion         = (3, 2, 1)
 
1268
    max_supported_fwversion         = (3, 3, 1)
1269
1269
    min_fwversion_shelves           = (2, 0, 0)
1270
1270
    min_fwversion_images_on_sdcard  = (2, 4, 1)
1271
1271
    min_fwversion_images_tree       = (2, 9, 0)  # Cover images stored in tree under .kobo-images
1380
1380
                          }
1381
1381
    GLO_COVER_FILE_ENDINGS = {      # Glo and Aura share resolution, so the image sizes should be the same.
1382
1382
                          ' - N3_FULL.parsed':[(758,1024),0, 99,True,],           # Used for screensaver, home screen
1383
 
                          ' - N3_LIBRARY_FULL.parsed':[(355,479),0, 99,False,],   # Used for Details screen before FW2.8.1, then for current book tile on home screen 
 
1383
                          ' - N3_LIBRARY_FULL.parsed':[(355,479),0, 99,False,],   # Used for Details screen before FW2.8.1, then for current book tile on home screen
1384
1384
                          ' - N3_LIBRARY_GRID.parsed':[(149,201),0, 99,False,],   # Used for library lists
1385
1385
                          ' - AndroidBookLoadTablet_Aspect.parsed':[(355,479), 88, 99,False,],   # Used for Details screen from FW2.8.1
1386
1386
                          }