|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2021
Device: Kobo Clara HD
|
koreader deletes calibre metadata after sending book via USB to device
When I send a book from calibre to my Kobo via USB, the book gets copied to the device and the metadata gets updated, but after ejecting, the meta data file gets reverted.
Next time I connect the device, calibre doesn't see the new book anymore. With Nickel, the same workflow does work correctly. Scenario 1: Sending book from calibre to Kobo via USB when koreader is open
Scenario 2: Sending book from calibre to Kobo via USB when nickel is open
Why is scenario 2 with nickel working correctly but scenario 1 with koreader not? Is this a bug in koreader or am I missing something? Device: Kobo Clara HD Versions: Original Firmware 4.26.16704 koreader v2021.05 Last edited by Zoasa; 06-10-2021 at 05:11 AM. |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It's perfectly normal, and probably related to the Kobo driver's automatic metadata management: the driver expects to be talking to nickel, that means it bases most of its sanity checking on the state of the *nickel* database. If a book isn't in there, it assumes it doesn't exist anymore (e.g., was deleted from within Nickel). We, of course, never ever touch said db.
The good news is, you magically recover everything if you actually let nickel scan your books once in a while (and then let calibre pick the changes up again). The quirky bit is that if you chain multiple USBMS session within KOReader without a Nickel scan in between, you "lose" the previous session's on-device metadata cache changes (which basically only means that those books "disappear" from calibre metadata searches, as that's the only thing in KOReader that actually uses it). TL;DR: * Either follow a strict "KOReader USBMS -> Nickel scan" workflow * Or setup your calibre to *not* use the Kobo driver, and use the plain dumb USBMS driver instead. (Disabling calibre's automatic metadata management and/or the metadata refresh on connect in the Kobo driver may also help, but I haven't tested that, because it kinda ruins most of what I use it for in the first place ^^). Last edited by NiLuJe; 06-10-2021 at 03:49 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Books imported another way won't suffer from this quirk, e.g.,
* The Calibre Wireless plugin warns you if you set your inbox to a folder already handled by another calibre driver, to avoid such metadata shenanigans (among other things). * Anything else (e.g., OPDS) doesn't generate calibre metadata. (But calibre may then still manage to match it automatically in most cases (e.g., sane in-book metadata; the perfect example being the OPDS catalog from the same calibre library ^^)). Last edited by NiLuJe; 06-10-2021 at 03:50 PM. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2021
Device: Kobo Clara HD
|
Many thanks for your reply. That explains a lot now. I'm trying out your proposals now. Regarding that Kobo driver, I've found only the settings under Plugins in Calibre. I've disabled the Kobo plugin, but somehow this has no effect. Where can I find this setting which you mentioned? Googling "calibre USBMS" leads me some python code for that driver, but no documentation unfortunately. Does this maybe has another name in the application or documentation?
|
![]() |
![]() |
![]() |
#5 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Disabling both the Kobo & Kobo touch device drivers should make Calibre gracefully downgrade to the stock USBMS driver (I don't actually know how it presents itself in the UI, as I've never used it).
Keep in mind that the same warnings I mentioned about mixing drivers apply here, too: this will most likely screw with the Kobo driver if you ever decide to re-enable it. If you want to avoid that, you can make it use a different subfolder as the (on-device) Library root. (Again, never done it myself, refer to the calibre docs for more details). Last edited by NiLuJe; 06-11-2021 at 01:40 PM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
'sending metadata to device' is slow from Calibre | Braid | Amazon Kindle | 0 | 11-03-2020 05:47 AM |
Small wired remote control device for Poke2 (USB HID Device) [for KOReader] | Winkelschraube | Onyx Boox | 2 | 08-30-2020 02:39 AM |
Calibre deletes news after sending to device | london_gambler | Library Management | 1 | 03-10-2017 10:34 PM |
Error sending metadata to device | Katsunami | Calibre | 10 | 09-18-2016 07:55 AM |
0.7 -- Sending metadata to device is SSSSLLLOOOOOOOOOOW | Xenophon | Calibre | 48 | 07-04-2010 06:37 AM |