Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2020, 01:22 PM   #1
brettonwoods
Junior Member
brettonwoods began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2020
Device: Kobo Clara HD
Some questions how Nickel works internally

Hi there,

I recently got a Kobo Clara HD and running latest firmware (4.25.15875 11/9/20).

As a "newbie" I have a few questions about how Nickel (the default reader?) works internally:

After a factory reset I put all my books in a folder "books" in the root path (of the sd card). After unmounting the reader, Nickel is importing the books.

*Question 1: How does the import process work ?*

Does Nickel automatically (constantly) look for new "book" files every time the device is unmounted?


*Question 2: How to fix "Authors" ?*

in "My Books -> Authors" I see the books listed by author. How exactly is the author extracted from the books, that is, which file type and meta data field is being used?

I'm currently using only .epub and .pdf files. Some author names are wrong. I wonder how to fix them, i.e. .epub files with Sigil editor. Which field is expected to contain the author name and in which format exactly?


*Question 3: How are books managed "internally" ?*

After updating meta data in one of my .epub files using Sigil (trying to fix the author) I synced the "books" folder, using the command "rsync -av src dest". After unmounting the kobo device it imports the books again, and I now see them twice (!) in the "My Books -> Books" section.

How exactly does the import process work? Does it import the files entirely in the sqlite3 database? Which table? How come I am now seeing them double?
And how can I fix this issue?


*Question 4: Where are highlights and annotations stored ?*

Are they also stored in the sqlite database? How can I export them? I saw that with "KoReader" they are stored in an extra .sdr folder which seems much easier to preserve and backup.


Thank you very much for your effort and patience to read this and your feedback.

BW
brettonwoods is offline   Reply With Quote
Old 11-30-2020, 11:27 PM   #2
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
Quote:
Originally Posted by brettonwoods View Post
Hi there,

I recently got a Kobo Clara HD and running latest firmware (4.25.15875 11/9/20).

As a "newbie" I have a few questions about how Nickel (the default reader?) works internally:

After a factory reset I put all my books in a folder "books" in the root path (of the sd card). After unmounting the reader, Nickel is importing the books.

*Question 1: How does the import process work ?*

Does Nickel automatically (constantly) look for new "book" files every time the device is unmounted?
Nickel looks for changes in the books everytime you eject the device.
Quote:
*Question 2: How to fix "Authors" ?*

in "My Books -> Authors" I see the books listed by author. How exactly is the author extracted from the books, that is, which file type and meta data field is being used?

I'm currently using only .epub and .pdf files. Some author names are wrong. I wonder how to fix them, i.e. .epub files with Sigil editor. Which field is expected to contain the author name and in which format exactly?
The title, author etc. are extracted from the metadata in the book. If you edit the book and set the metadata correctly, it will be read when you import it. If you use Sigil, it has a metadata editor which will make it pretty obvious where the author goes.

If the book doesn't have any metadata, or is a format that does not contain metadata, the file name is used for the title and the author is "Unknown" or something like that.
Quote:
*Question 3: How are books managed "internally" ?*

After updating meta data in one of my .epub files using Sigil (trying to fix the author) I synced the "books" folder, using the command "rsync -av src dest". After unmounting the kobo device it imports the books again, and I now see them twice (!) in the "My Books -> Books" section.

How exactly does the import process work? Does it import the files entirely in the sqlite3 database? Which table? How come I am now seeing them double?
And how can I fix this issue?
That means you put a new copy of the book on the device with a different file name. The file name and path is used by the internal database as the key. The device has no issued with two books with identical metadata but different file locations.

To fix, just remove the book you don't want.
Quote:

*Question 4: Where are highlights and annotations stored ?*

Are they also stored in the sqlite database? How can I export them? I saw that with "KoReader" they are stored in an extra .sdr folder which seems much easier to preserve and backup.
The annotations are stored in the database. There is a lot of discussion about how to get them out of the database. A search will find it. And the details haven't changed for a while.
davidfor is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OTA nightly and nickel questions pnpires KOReader 3 05-13-2018 10:45 AM
Works internally stored but cannot find SD Card enonod Calibre Companion 2 07-27-2014 05:16 AM
Tablet Installing CM 10 Internally on Nook Tablet livramax Nook Developer's Corner 39 07-06-2013 04:31 PM
Eink stanalone demo Qt eink driver for standalone qt apps ie no nickel nickel tonyv Kobo Developer's Corner 2 12-27-2012 09:35 AM
Fonts and Epub - What works on Sony, Works for Pocket Pro too! tamzilla Astak EZReader 23 12-13-2009 10:56 PM


All times are GMT -4. The time now is 11:42 AM.


MobileRead.com is a privately owned, operated and funded community.