![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 732
Join Date: Nov 2010
Device: Sony PRS-650
|
Feature Request: Customising metadata.calibre file content
It'd be nice to be able to customise what gets put in the metadata.calibre file which is sent to the device.
Obviously, some fields are required to be in there, but unless there's a pressing need why include custom columns and all of their details (like the formula used to generate them)? And why embed entire thumbnails in the json structure? Those things just seem to produce file bloat for no apparent purpose. So, yeah, is it possible to allow the user to select which (non-core) fields are included in that file, and to switch off by default the sending of anything non-core to it, to reduce file size and hence transfer/sync time? I've raised a ticket here: http://bugs.calibre-ebook.com/ticket/8001 |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Why would anyone care on the user side of things? That file is just there for Calibre's internal purposes and doesn't get accessed in any way by any reading device that I know of.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
As I said in the ticket, it would be very difficult to predict the effects of leaving random metadata fields out of that file, as it is used to build the full metadata information for books on the device. For this reason I am not in favor of such a change.
|
![]() |
![]() |
![]() |
#4 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 732
Join Date: Nov 2010
Device: Sony PRS-650
|
There's something which actually uses the binary thumbnails which are stored, json encoded, in metadata.calibre?
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,336
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 732
Join Date: Nov 2010
Device: Sony PRS-650
|
Do they actually *use* the json-encoded thumbnails or do they just write them to the metadata.calibre file and then read that data back again so they can write it out again later?
Are there any circumstances where the code needs a thumbnail from there which it can't just get from Calibre's or the device's own thumbnail cache, rather than by serialising/deserialising a binary file from the enormous json file? |
![]() |
![]() |
![]() |
Tags |
calibre, metadata, reduce file size |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature request : using a custom css file | Bertrand | Writer2ePub | 8 | 12-28-2019 11:46 AM |
Feature Request - Edit File Option | fcoulter | Calibre | 10 | 07-22-2010 12:56 AM |
series metadata feature request | speakingtohe | Calibre | 4 | 07-01-2010 05:58 PM |
Feature Request: Lock Metadata | carpii | Calibre | 3 | 02-27-2010 04:34 PM |
Export Metadata to epub/pdf/txt - feature request? | asktheeightball | Calibre | 0 | 11-27-2009 04:35 PM |