Is the Sony code out-of-date because it's unsupported, or just because no one maintains it?
I see that it tries to call apsw.connect(), which doesn't exist, and code for other devices uses apsw.Connection().
It's also missing a setting of location_sort on the Annotation objects - I'm not sure how to compute that value - I assume it can be set to "dict_of_anns[timestamp]['location'][0]", but then two-digit pages are sorted after three-digit pages.
After making these changes, I get no errors when importing annotations, but they are associated with the wrong books in the library. Any idea why?
Last edited by salty-horse; 09-24-2022 at 02:47 PM.
|