04-02-2017, 09:12 PM | #1 |
Enthusiast
Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
|
Custom Column side-effects
I really like custom columns, but I'm not too keen on their side-effects. The side effect i'm referring to is that when the custom column data changes, then the book metadata.opf gets updated and the book is considered "dirty" (changed) for the sake of synchronisation.
For example, let's take one a lot of people have, author_book_count. When the book count is updated, all the books in the library will be updated. When I next synchronize with a device, all the books will need to be resent (as then have changed since the last sync). Aside being a problem with syncs, is that some of those columns can contain private information that needs to be scrubbed if the file is ever to be shared (web content epubs for example). I was wondering if there was any way (hidden tweak?) I could mark some columns as being "database only", i.e. that medatadata field wont be updated in the book files (and metadata.opf). (not sure i'm being clear so this is another way to ask exactly the same thing) -> Is there a column filter setting that can be used to identify columns that are not to be written in the book's metadata? Last edited by botmtl; 04-02-2017 at 09:31 PM. |
04-02-2017, 10:36 PM | #2 |
Well trained by Cats
Posts: 29,812
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I only know of the tweak: ID: content_server_will_display
(I thought there was also one for the Jacket, but I can't find it) |
Advert | |
|
04-02-2017, 11:13 PM | #3 | |||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
Quote:
You're being clear. I think all metadata is written to the book when you send the book to the device. I don't know of anyway to selectively pick and choose which metadata is written to the device. I have never had any books on my device automatically updated whenever I change a custom column. |
|||
04-02-2017, 11:52 PM | #4 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
So, only metadata.db is changed. One file. Nothing else. DaltonST |
|
04-03-2017, 12:24 AM | #5 | |
null operator (he/him)
Posts: 20,583
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Another possibility might be to copy the books in question to a fresh empty 'Output' library, only selecting the custom columns required when copying. And then send/mail/save the books from the 'Output' library. And then delete the 'Output' library and create a fresh one. But you'd lose any device syncing capabilities. I like the idea of a feature to select what metadata is sent/saved, as well as all the non-DC elements I would also unselect Comments (DC:Description), and Tags (DC:Subject). Today I remove them with Sigil's metadata editor.. BR Last edited by BetterRed; 04-03-2017 at 12:27 AM. Reason: add noparse tags |
|
Advert | |
|
04-13-2017, 01:33 AM | #6 |
Enthusiast
Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
|
Thank you all for correcting me on several points for which I had assumed wrong.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column returns value based on value of another custom column? | calvin-c | Calibre | 3 | 09-14-2013 02:24 PM |