Fixed problems with HQ mode (close #77)

This commit is contained in:
Paweł Jastrzębski
2014-01-14 15:54:08 +01:00
parent 20712b6c42
commit 96a8c1d354
9 changed files with 29 additions and 18 deletions
+6 -4
View File
@@ -1084,12 +1084,14 @@ def checkOptions():
options.quality = 0
options.panelview = False
# Disable all Kindle features for other e-readers
if options.profile == 'OTHER' or 'Ko' in options.profile:
if options.profile == 'OTHER':
options.panelview = False
options.quality = 0
# Enable 150% zoom for all non-HD Kobo models
#if 'Ko' in options.profile and options.profile != "KoAHD":
#options.quality = 1
if 'Ko' in options.profile:
options.panelview = False
# Kobo models can't use ultra quality mode
if options.quality == 2:
options.quality = 1
# Kindle for Android profile require target resolution.
if options.profile == 'KFA' and (options.customwidth == 0 or options.customheight == 0):
print "ERROR: Kindle for Android profile require --customwidth and --customheight options!"