View Single Post
Old 06-11-2015, 03:50 AM   #14
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: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by NSILMike View Post
Not sure where to see the file name in CC's Book Details, so I looked at the specific file name in 'ES File Explorer' which allows me to navigate to the path where the files are stored in Flash on my Nexus tablet. The file name for each and every new source I have downloaded contains a date. For instance in this case (CNET) the file name is CNET News_2015-6-9.mobi All the others are similar... News source name followed by the date.

Update: If I go to 'choose items to display' in CC's settings and set the path to be displayed, I get the same file name (preceded by the path in storage of course...)
The file has the date 9 June, not 10 June. That is the root of the problem. And given that calibre assigns file names, I don't see what CC can do about it.

Looking at calibre's code, in some (perhaps all) situations it sets the pubdate to the current time. The date used in the file name comes from the pubdate. This could lead to interesting consequences if a news article for day X is downloaded in a timezone with the current time having day X-1 or X+1. Calibre's pubdate will not match the news "day".

What it looks like is that two CNET downloads happened on the same localtime day, perhaps one just after midnight and one just before midnight. That would give them the same file name but different metadata. Because the file names are the same, CC thinks that the book is not new. The "added to CC" date will not change, although everything else about the book might.

So, to end this flight of speculation, when does calibre download the news? Is the date in the news file name always one day old? Does the newest edition always overwrite the previous edition?
chaley is offline   Reply With Quote