View Single Post
Old 09-21-2024, 08:24 AM   #27
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,566
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by i_am_not_a_duck View Post

So everything works relatively well up to this point. Occasionally if I'm trying to upload a LOT of books at once, the Kobo will fail to import some of them and I'm not sure why, but I'll deal with that after this problem has been resolved.

Now: with Kobo disconnected and Calibre not currently running, if I connect the Kobo to the computer and browse to it, I see the metadata.calibre file is still intact. I open Calibre, and as soon as it detects the device, it overwrites metadata.calibre with a fresh empty one and therefore cannot see what is already on the device. It does not pop up any errors.
I realize that no one commented on the calibre.metadata file.

This is created and managed by calibre on the device and is obnly used by calibre.

It is written to the device after books have been transferred.

I don't think the Kobo driver used data from this file; rather it processes data directly from the KoboReader.sqlite database. This database is maintained by the Kobo, and is populated with new content during the post-disconnect processing on the device; the period where you see the message about the device importing new content.

The Kobo driver does update this database with items like the series info and any tags / collections associated with the book. This update does requite the database records to be present, which is why the Kobo requires a second connection to the PC after the initial transfer.
PeterT is offline   Reply With Quote