about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <[email protected]>2016-08-20 08:40:38 +0200
committerPaweł Jastrzębski <[email protected]>2016-08-20 08:40:38 +0200
commita04bf5262f3c99f125477ca1336804b24e2ae69a (patch)
treec9f94ee42f2eac475ca8105b588a71c92522aa16
parentSmall bugfix (diff)
downloadkcc-a04bf5262f3c99f125477ca1336804b24e2ae69a.tar.gz
kcc-a04bf5262f3c99f125477ca1336804b24e2ae69a.tar.bz2
kcc-a04bf5262f3c99f125477ca1336804b24e2ae69a.zip
Added Kobo Aura ONE profile
Diffstat (limited to '')
-rw-r--r--kcc/KCC_gui.py3
-rwxr-xr-xkcc/comic2ebook.py4
-rwxr-xr-xkcc/image.py1
3 files changed, 6 insertions, 2 deletions
diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py
index 342b0da..c773529 100644
--- a/kcc/KCC_gui.py
+++ b/kcc/KCC_gui.py
@@ -918,6 +918,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
                              'DefaultUpscale': True, 'Label': 'KoAHD'},
             "Kobo Aura H2O": {'Quality': False, 'ForceExpert': False, 'DefaultFormat': 1,
                               'DefaultUpscale': True, 'Label': 'KoAH2O'},
+            "Kobo Aura ONE": {'Quality': False, 'ForceExpert': False, 'DefaultFormat': 1,
+                              'DefaultUpscale': True, 'Label': 'KoAO'},
             "Other": {'Quality': False, 'ForceExpert': True, 'DefaultFormat': 1,
                       'DefaultUpscale': False, 'Label': 'OTHER'},
             "Kindle 1": {'Quality': False, 'ForceExpert': False, 'DefaultFormat': 0,
@@ -934,6 +936,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
             "Kindle PW 1/2",
             "Kindle",
             "Separator",
+            "Kobo Aura ONE",
             "Kobo Aura H2O",
             "Kobo Aura HD",
             "Kobo Aura",
diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py
index e42d835..a303739 100755
--- a/kcc/comic2ebook.py
+++ b/kcc/comic2ebook.py
@@ -960,7 +960,7 @@ def makeParser():
 
     mainOptions.add_option("-p", "--profile", action="store", dest="profile", default="KV",
                            help="Device profile (Available options: K1, K2, K3, K45, KDX, KPW, KV, KoMT, KoG, KoGHD,"
-                                " KoA, KoAHD, KoAH2O) [Default=KV]")
+                                " KoA, KoAHD, KoAH2O, KoAO) [Default=KV]")
     mainOptions.add_option("-m", "--manga-style", action="store_true", dest="righttoleft", default=False,
                            help="Manga style (right-to-left reading and splitting)")
     mainOptions.add_option("-w", "--webtoon", action="store_true", dest="webtoon", default=False,
@@ -1024,7 +1024,7 @@ def checkOptions():
     if options.format == 'Auto':
         if options.profile in ['K1', 'K2', 'K3', 'K45', 'KPW', 'KV']:
             options.format = 'MOBI'
-        elif options.profile in ['OTHER', 'KoMT', 'KoG', 'KoGHD', 'KoA', 'KoAHD', 'KoAH2O']:
+        elif options.profile in ['OTHER', 'KoMT', 'KoG', 'KoGHD', 'KoA', 'KoAHD', 'KoAH2O', 'KoAO']:
             options.format = 'EPUB'
         elif options.profile in ['KDX']:
             options.format = 'CBZ'
diff --git a/kcc/image.py b/kcc/image.py
index f43d24c..aef77e5 100755
--- a/kcc/image.py
+++ b/kcc/image.py
@@ -90,6 +90,7 @@ class ProfileData:
         'KoA': ("Kobo Aura", (758, 1024), Palette16, 1.8, (1137, 1536)),
         'KoAHD': ("Kobo Aura HD", (1080, 1440), Palette16, 1.8, (1620, 2160)),
         'KoAH2O': ("Kobo Aura H2O", (1080, 1430), Palette16, 1.8, (1620, 2145)),
+        'KoAO': ("Kobo Aura ONE", (1404, 1872), Palette16, 1.8, (2106, 2808)),
         'OTHER': ("Other", (0, 0), Palette16, 1.8, (0, 0)),
     }