Quote:
Originally Posted by davidfor
I think you will make a some people very happy if you do that.
I don't have a Sony device, but I have looked at a copy of the database and some other structures. A lot of the concepts in the plugin will map across fairly well.
...
From memory of the Sony driver, there isn't quite the direct link to the database that the Kobo driver has.
I hope you are also considering annotations.
|
Yes, I think a lot of things will translate easily. And you're right that the database will be marginally harder. otoh, there's no such thing as a separate annotation file, so they're just another database query. It's the annotations that I really, really, want.
I just noticed something in the KoboUtilities plugin.
In
dialogs.py, you:
Code:
try:
...
from PyQt5 import QtWidgets as QtGui
except ImportError as e:
from PyQt4 import QtGui
while in
config.py, it's:
Code:
try:
...
from PyQt5 import QtGui
except ImportError as e:
from PyQt4 import QtGui
Now, it appears to be an unused import in
config, but to save you grief if you later need to use QtGui, you might want to make those match!