|
|
#1 |
|
Stone Tablet Reader
![]() Posts: 6
Karma: 10
Join Date: Mar 2010
Location: USA
Device: iPhone
|
How to Identify Which Ebooks Are Outdated?
As you're aware, updating the metadata for a book does not cause the ebook to be rebuilt. This results in a synchronization issue in which the metatadata embedded in the ebook format itself (I'm primarily concerned with ePub, though it is an issue for many formats) is out of sync with that in the database. This has become a much larger problem for me recently, as I'm now using Calibre Companion to manage my Library on my android device. The problem is that the sync process CC uses is only sensitive to the last_modified entry in the database. If I update the comments on an ebook under Calibre, but fail to rebuild the epub, I end up with a situation where the epub on my android doesn't match the metadata. Also, if I subsequently do a rebuild on the epub, the last_modified field doesn't get updated and CC won't download the revised epub on the next sync. What I need is a way to identify which books are currently in this condition. Is there a way under Calibre to select all books in which the specified format file (epub in this case) is older than the last_modified tag? It seems like this would be a built-in function, but I haven't been able to find it. I suppose that I could write a script to walk the directory structure of the Library and flag all books in which the timestamp on the metadata.opf file is newer than that of the epub, but that would still leave me manually negotiating the GUI to initiate rebuilds for each individual book. Alternatively, I could just initiate a complete rebuild of every book in the library on a regular basis, but this isn't really practical with 15K+ books in the Library. Anybody got any ideas? This issue would apply to any format of ebook that can contain embedded metadata. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,853
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
|
You can get the number of days between the metadata's last modified time and the modtime of EPUB formats with the template
Code:
{last_modified:'days_between($, select(formats_modtimes('iso'), 'EPUB'))'}
__________________
Support calibre developers at no cost to you by using calibre's get books feature. Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre charles.haleys.org/calibre |
|
|
|
|
Enthusiast
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| identify kf-8 files | shorshe | Mobi | 3 | 09-21-2012 01:27 PM |
| Outdated stories about ancient tech. | ardeegee | Lounge | 1 | 05-28-2011 04:41 PM |
| How does Amazon identify ebooks? | SpiderMatt | Amazon Kindle | 29 | 02-25-2011 10:23 AM |
| Help Me Identify A Title, Please | MV64 | Reading Recommendations | 2 | 04-24-2009 10:21 AM |
| The Sony Reader will be outdated in 10 years | TadW | Sony Reader | 39 | 11-25-2006 09:58 AM |