mirror of
https://github.com/ciromattia/kcc
synced 2025-12-17 19:51:45 +00:00
Fixed K1/K2/KDX/KDXG profiles
This commit is contained in:
@@ -791,13 +791,8 @@ def checkOptions():
|
|||||||
options.panelview = True
|
options.panelview = True
|
||||||
options.landscapemode = False
|
options.landscapemode = False
|
||||||
else:
|
else:
|
||||||
# Virtual Panel View or Panel View disabled
|
# Virtual Panel View
|
||||||
options.panelview = False
|
options.panelview = False
|
||||||
# Older Kindle don't need higher resolution files due lack of Panel View.
|
|
||||||
# Kindle Fire family have very high resolution. Bigger images are not needed.
|
|
||||||
if options.profile == 'K1' or options.profile == 'K2' or options.profile == 'KDX' or options.profile == 'KDXG'\
|
|
||||||
or options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
|
|
||||||
options.quality = 0
|
|
||||||
# Disabling grayscale conversion for Kindle Fire family.
|
# Disabling grayscale conversion for Kindle Fire family.
|
||||||
if options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8' or options.forcecolor:
|
if options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8' or options.forcecolor:
|
||||||
options.forcecolor = True
|
options.forcecolor = True
|
||||||
@@ -808,6 +803,13 @@ def checkOptions():
|
|||||||
if options.rotate:
|
if options.rotate:
|
||||||
options.panelview = True
|
options.panelview = True
|
||||||
options.landscapemode = False
|
options.landscapemode = False
|
||||||
|
# Older Kindle don't need higher resolution files due lack of Panel View.
|
||||||
|
# Kindle Fire family have very high resolution. Bigger images are not needed.
|
||||||
|
if options.profile == 'K1' or options.profile == 'K2' or options.profile == 'KDX' or options.profile == 'KDXG'\
|
||||||
|
or options.profile == 'KF' or options.profile == 'KFHD' or options.profile == 'KFHD8':
|
||||||
|
options.quality = 0
|
||||||
|
if options.profile == 'K1' or options.profile == 'K2' or options.profile == 'KDX' or options.profile == 'KDXG':
|
||||||
|
options.panelview = False
|
||||||
# Disable all Kindle features
|
# Disable all Kindle features
|
||||||
if options.profile == 'OTHER':
|
if options.profile == 'OTHER':
|
||||||
options.landscapemode = False
|
options.landscapemode = False
|
||||||
|
|||||||
Reference in New Issue
Block a user