View Single Post
Old 02-22-2022, 05:36 PM   #1
iandol
Enthusiast
iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.iandol ought to be getting tired of karma fortunes by now.
 
iandol's Avatar
 
Posts: 40
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
Question Converting on-device EPubs to Kepubs but keeping their Calibre links?

I have a Kobo Nia, and have used Calibre to sync about 100 EPubs onto the Nia, a workflow that works amazingly well (Calibre really is wonderful!).

I saw this great tool: https://pgaskin.net/kepubify/ which does super fast conversion of EPubs to Kepubs. I do NOT want to convert the original EPubs on my desktop machine, but want to convert the EPubs on the Nia. I have tried to use

Code:
kepubify --update --inplace 'MyBook.epub'
Which creates a MyBook.kepub.epub. BUT this breaks the link back to the Calibre library. I tried to edit the calibre metadata file that is on the device to now point to the new file, but Calibre still seems to have forgotten the book when reconnected. I am completely new to this all and just wondered:
  1. If I just rename 'MyBook.kepub.epub' to 'MyBook.epub' on the device, will the kobo still use the "enhanced" kepub engine (I realise it is an internal format difference, but don't know what heuristic kobo software uses, maybe it is dumb and uses filename?).
  2. How can I tell if the kobo is in kepub vs epub reading mode?
  3. Do kepubs also benefit other readers like KOReader?

And finally, a massive thank you to Patrick Gaskin for this tool, and also NickelMenu and the patching system, it is all very cool!!!
iandol is offline   Reply With Quote