View Single Post
Old 02-15-2015, 08:05 AM   #133
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
That's a Python script to read the annotations database on the Nook and dump out a file with lines with the page number, highlighted text and the note. It creates one file per book.

That gives a lot of clues as to what is needed. Plus, someone in the past has sent me some parts of the database from a Nook. But, it was incomplete. It had the annotations database, which includes a path to the book, but no details of the book. Without this, I don't have a way to connect the annotation pulled from the database to the book in the calibre library.

What I need to to try this is the full database, or some other way to connect the books and annotations together. If I can get that, and someone willing to test the code, I can try and create the code to read the annotations from the Nook.

The other thing I am not sure of is access to the database. That script appears to be using adb to copy to database to a temporary file and then run the rest from there. I thought that the Nooks were mounted as a mass storage device and hence the database and books were accessible that way. If it isn't, that might complicate things.
davidfor is offline   Reply With Quote