Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-11-2020, 02:26 PM   #1
mst
Connoisseur
mst began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
Updating Calibre metadata

Finally seeing the light with metadata, Calibre and Koreader, many thanks to all your inputs so far!

Some quirks still baffle me. For instance, in Calibre, I added tags to epubs that are already on the device, and I'd like to update just the metadata, so I can browse by tags on KoReader with the new metadata I added in Calibre.

Via Calibre, I update the cached metadata on the device, and the calibre.metadata file on the device updates (changed size and date), but after disconnecting from USB, KoReader doesn't recognize the new tags in the books that are already on the reader, just in new books I upload that contain the same tags.

I re-start the device and KoReader, but still, new tags don't show up. In the +Menu on KoReader, I update the cached metadata of all books (took 10 minutes for 2,000 books). Then I reconnect the device via USB and mount it in Calibre. The calibre.metadata file updates (just changes date, not size). I update the metadata again in Calibre and I disconnect the device again, but KoReader still shows the old tags.

Do I need to re-upload books when I change their tags or can I just refresh a cache on the device to make KoReader see the new tags in a more quick and easy way?

Last edited by mst; 12-11-2020 at 02:45 PM.
mst is offline   Reply With Quote
Old 12-11-2020, 03:19 PM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 940
Karma: 1402887
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by mst View Post
Do I need to re-upload books when I change their tags or can I just refresh a cache on the device to make KoReader see the new tags in a more quick and easy way?
The "search metadata" option of the calibre plugin doesn't need to re-upload books. Each time the file calibre.metadata changes the cache gets invalidated and the new metadata is picked.

If you're talking about the metadata you see in the file manager, that's the one embedded in the epub. I have no idea if editing the properties of a book in calibre will change the metadata embedded in the epub (I barely use calibre).

If that's true you need to re-upload the books and refresh the cache. an image worth +1000 words.

If that's false you need to edit your epubs, add valid metadata, re-upload them and refresh the cache.

Also, for the future: please don't create a new thread for each question you have on the same topic. Just repurpose the original thread. It is easier to track and make the original thread more complete.
pazos is offline   Reply With Quote
Advert
Old 12-11-2020, 03:22 PM   #3
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
Which part of the UI are you talking about, exactly?

* The Calibre plugin (e.g., "Find a book via calibre metadata") should pickup calibre.metadata changes immediately.

That's assuming you actually manage to get Calibre to update that properly in the first place .

IIRC, what you're doing *is* the right procedure, but I've had instances of the cache being so inconsistent that weird crap happened. When in doubt, delete the file on the device manually *without Calibre running*, then re-run Calibre and let it build it from scratch (it'll take *a while*).

* As far as the FileManager is concerned, it won't refresh anything on its own *ever*. If you tap "Refresh cached book information" in the long-press menu, it will, but that's entirely based on the ePub metadata, not Calibre's.

And, IIRC, Calibre does *not* update the on-device book when you tweak its metadata on Calibre's side, not without further intervention (e.g., re-sending it). Someone more familiar with Calibre may correct me, because that's something I extremely rarely do.

(The Calibre Kobo driver, on the other hand, probably fixes the *Nickel* metadata automatically for those, provided automatic metadata management is enabled. But that's irrelevant in KOReader ).
NiLuJe is offline   Reply With Quote
Old 12-11-2020, 05:00 PM   #4
mst
Connoisseur
mst began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
Thanks for your feedback.

Quote:
Which part of the UI are you talking about, exactly?
I mean the Calibre plugin. I'm past the file manager already.

I investigated this further and the strange part is this: When updating the metadata through Calibre without re-uploading any books, KoReader won't recognize the changes. Deleting and having Calibre rebuild the metadata file also has no effect. However, when I re-upload just one of the books with changed tags, then KoReader recognizes all the changes.

Works for me, but it's a little strange nonetheless. Sorry @pazos for the many threads. I think your guys' feedback cleared up all of my questions for now.

Last edited by mst; 12-11-2020 at 05:02 PM.
mst is offline   Reply With Quote
Old 12-11-2020, 06:11 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 12,153
Karma: 21225489
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O, Forma, Elipsa & Sage
IIRC, Calibre needs a reason to update the on-device calibre.metadata file.

Sending a book is one.

Just fiddling with the metadata in its UI isn't.
NiLuJe is offline   Reply With Quote
Advert
Old 12-12-2020, 06:42 AM   #6
mst
Connoisseur
mst began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Dec 2010
Device: Kobo Clara HD
Great, thank you! I think I figured it out now.

Do you think it makes sense for me to write up a newbie's guide to organizing books on KoReader with Calibre, or does this exist already? I think this would help new users clear the fog. Happy to do it, unless it's redundant.
mst is offline   Reply With Quote
Old 12-12-2020, 09:22 AM   #7
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 426
Karma: 1084582
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Why not, write it in wiki, there it would be great help to all who wants to use it, and as you now know how to organize this, it would be a great plus.
Alan_S is offline   Reply With Quote
Old 12-12-2020, 09:25 AM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 64,324
Karma: 104254653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
A lot of eBooks have rubbish in the OPF including worthless tags. They need to be edited so the metadata in the OPF is correct.
JSWolf is offline   Reply With Quote
Old 12-12-2020, 07:05 PM   #9
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 940
Karma: 1402887
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by mst View Post
Great, thank you! I think I figured it out now.

Do you think it makes sense for me to write up a newbie's guide to organizing books on KoReader with Calibre, or does this exist already? I think this would help new users clear the fog. Happy to do it, unless it's redundant.
Guides are great as a resource and can help newbies with specific workflows. Any guide is welcome no matter how specific the workflow is and how the writter approached its target. It has the status as "works for me" and indeed can works for others too.

For the wiki the expectations are different. From the README in github:

Quote:
document lesser-known features on the wiki
So it depends on the approach. There's a wiki page for the calibre plugin that doesn't cover the metadata search (because it wasn't part of the plugin until recently)

In wiki pages it is better to document what can be done with the plugin.

Elsewhere you can use a more natural language and document what you want any way you want, without too much restriction.

See, for instance, https://medium.com/@candide.uyanze/h...e-f727f04e197d

It is a valid workflow for the author but very difficult to translate to wiki pages. It is also not the only specific way of getting that done.

So, to sum up:

1. All contributions are welcome.

2. The wiki is expected to document features and use specific bits as examples. You're welcome to write a guide using a new wiki page and adds link where you see it fits. Keep in mind that the wiki is a moving target and any workflow you wrote can be rewritten by somebody else in a way that matches better their needs.

3. There's other places on the web to write these guides, keep autorship and prevent others from modifying your workflow in a way you don't agree with.

tl;dr: All contributions are welcome.
pazos is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metadata errors after updating to Calibre 3.6 drav666 Calibre 6 08-06-2017 04:04 AM
Updating metadata on Calibre for books already on Kindle melovesflying Devices 4 05-16-2016 04:28 AM
Updating metadata in Calibre than update in Kindle? iplers Amazon Kindle 0 09-23-2014 12:36 PM
[Possible Bug] Calibre Publication Date after updating metadata Katsunami Calibre 8 09-09-2013 12:07 AM
Calibre slow in updating metadata meandher57 Kobo Reader 7 07-14-2011 06:13 PM


All times are GMT -4. The time now is 05:52 PM.


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