Quote:
Originally Posted by PeterT
When I get home I'll take a look at KTE but I doubt it will need changes. It uses the original KT driver for its device access. I think the only thing which would be missing is the inclusion of a device specific override CSS file.
Sent from my Pixel 7a using Tapatalk
|
OK. I've just done some looking at the code for KTE; the only area that appears to care about the Kobo model is in driver.py where it is determining which Extra CSS file to use from the device. There is an area of code handling "self modifying css" that is enabled by the "Uploading of books" / "Modify CSS" option. The code as written contains
Code:
device_css_file_name = self.KOBO_EXTRA_CSSFILE
try:
if self.isAuraH2O():
device_css_file_name = "kobo_extra_AURAH2O.css"
elif self.isAuraH2OEdition2():
device_css_file_name = "kobo_extra_AURAH2O_2.css"
elif self.isAuraHD():
device_css_file_name = "kobo_extra_AURAHD.css"
...
so this would need to be extended with tests for all newer devices.
I still need to take a look at the KT348 driver to ensure it's consistent with the main KT driver.