Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 05:53 AM   #1
natruok
Junior Member
natruok began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2026
Device: none
Manually edit and rebuild .metadata.calibre file?

Hi!

I was wondering if it's possible to manually edit and rebuild the metadata.calibre file?

The latest updates to the Bookshelf KOReader plugin has a function to parse out the metadata.calibre file to pull columns and custom columns data, but my calibre library is huge (was 120+ columns, have brought it down to 85 now) since I'm cleaning through my library, and I also have certain columns where I have longer python scripts, etc.

Result is an extremely inflated metadata.calibre file, which includes all the custom columns, when I only want about 3-5 of the columns to be imported in for use with KOReader, and the app/plugin can only handle a metadata file up to 64mb — my full export is about 600mb currently.

I've tried converting the file type to see the information in there, and can also rebuild it to have only the column information that I actually need (assuming what I see in text in the file is everything) — but when I save it back to a "metadata.calibre" file, even though the contents appear the same (excluding all the extra unneeded custom columns) and the file type appears the same, it isn't the same file because the app can't read it anymore.

When scanning library via the calibre plugin, it also shows that it's found one library with 0 books.

Is there something else that needs to be done to allow this to work, or is this an impossible task?
natruok is offline   Reply With Quote
Old Today, 05:56 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,473
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
easiest way would be to delete the books and resend.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to manually edit TOC davidhcje Calibre 5 05-30-2021 02:25 PM
Open file option from 'Edit Metadata' dialog box crackhammer Library Management 1 12-04-2013 04:39 PM
Manually trimming the metadata.opf and toc.ncx file ProDigit ePub 22 04-16-2012 10:01 AM
Bulk metadata edit, set cover from ebook file Stampercam Calibre 2 01-13-2011 04:43 PM
How to edit metadata on TXT file Sydney's Mom Kindle Formats 0 01-11-2009 04:48 PM


All times are GMT -4. The time now is 06:31 PM.


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