Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-21-2010, 04: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, 06:18 AM   #2
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
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.
Manichean is offline   Reply With Quote
Advert
Old 12-21-2010, 06:20 AM   #3
chaley
Grand Sorcerer
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: 11,741
Karma: 6997045
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.
chaley is offline   Reply With Quote
Old 12-21-2010, 12: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, 12:16 PM   #5
chaley
Grand Sorcerer
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: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
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
Advert
Old 12-22-2010, 05: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


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:48 PM.


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