diff options
Diffstat (limited to '')
| -rw-r--r-- | kcc/KCC_gui.py | 3 | ||||
| -rwxr-xr-x | kcc/comic2ebook.py | 4 | ||||
| -rwxr-xr-x | kcc/image.py | 1 |
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)), } |