Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2010, 05:42 AM   #1
mornington
Connoisseur
mornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enough
 
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
mornington is offline   Reply With Quote
Old 12-21-2010, 07:18 AM   #2
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
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.
Manichean is offline   Reply With Quote
Old 12-21-2010, 07:20 AM   #3
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,799
Karma: 1216080
Join Date: Jan 2010
Location: France
Device: Many android devices
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.
chaley is offline   Reply With Quote
Old 12-21-2010, 01:12 PM   #4
mornington
Connoisseur
mornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enough
 
Posts: 63
Karma: 732
Join Date: Nov 2010
Device: Sony PRS-650
Quote:
Originally Posted by chaley View Post
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.
There's something which actually uses the binary thumbnails which are stored, json encoded, in metadata.calibre?
mornington is offline   Reply With Quote
Old 12-21-2010, 01:16 PM   #5
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,799
Karma: 1216080
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by mornington View Post
There's something which actually uses the binary thumbnails which are stored, json encoded, in metadata.calibre?
They are used by the Sony device driver and by the device view.
chaley is offline   Reply With Quote
Old 12-22-2010, 06:51 AM   #6
mornington
Connoisseur
mornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enoughmornington will become famous soon enough
 
Posts: 63
Karma: 732
Join Date: Nov 2010
Device: Sony PRS-650
Quote:
Originally Posted by chaley View Post
They are used by the Sony device driver and by the device view.
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?
mornington is offline   Reply With Quote
Reply

Tags
calibre, metadata, reduce file size

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature request : using a custom css file Bertrand Writer2ePub 7 12-22-2010 03:55 AM
Feature Request - Edit File Option fcoulter Calibre 10 07-22-2010 01:56 AM
series metadata feature request speakingtohe Calibre 4 07-01-2010 06:58 PM
Feature Request: Lock Metadata carpii Calibre 3 02-27-2010 05:34 PM
Export Metadata to epub/pdf/txt - feature request? asktheeightball Calibre 0 11-27-2009 05:35 PM


All times are GMT -4. The time now is 01:38 PM.


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