Quote:
Originally Posted by chaley
CC sends the date the book was last changed on the device to calibre. Calibre compares that date to the one for the book (actually the format) in the library. If the date of the format is newer, calibre sends the book.
There are several ways a format's date can be changed. Any of polish, modify epub, edit cover, or the editor can do it. Some plugins like fanfic do it.
Hmmm... I probably have an order dependency when job is cancelled. I might update the cache even though the metadata was not sent to the device. This would result in what you are seeing.
Thanks. I will look at it. However, I suspect that the problems with syncing, if there are indeed problems, are on the calibre side, in which case I actually need a calibre debug log.
EDIT: you did give me a calibre debug log. Excellent!
|
I checked the dates on three books and the date in book details of date 'added to cc' and 'updated' were both later than the date of the epub file looking at the file in Calibre's folders. Is there somewhere else I should look for those dates?
Quote:
Originally Posted by chaley
Calibre sent 40 books. You killed it at the last book. 
When calibre sends a book, it includes all the metadata except the cover. The cover is sent as a second step when "syncing metadata".
Unfortunately, the last_modified date in the metadata that comes with the book is the right one, so in later connects calibre doesn't know that it must resend metadata. I have fixed this so that when CC receives a book it sets the last_mod date to long ago. It will get reset back during the sync metadata, if that happens, or the next connect if it doesn't happen.
|
Well, yeah, the last book that was sent when I killed it would be the last book.
The 40 books that were sent were all older books that I don't think had anything changed. I also did not see the book that should have been sent - I had just finished a library book so I deleted the epub in Calibre and replaced it with an empty epub so I could still have the book details in CC. This is all I expected to see sent, although I wouldn't have been surprised to see a few stragglers. Maybe you could show a message of how many books will be sent so there will be no surprises?
Quote:
I see the network failure in CC's debug log. Unfortunately the calibre debug log has no useful information, so I don't know what happened from calibre's side. From CC's side something closed the network connection.
One very strange thing in the log. In the middle of negotiating with calibre during the second connect, you went to look at some book details. I didn't think this was possible and I can't see how to do it. Do you remember anything about what you did or what happened?
|
When I went to look at book details was when I was surprised to see that the synching was done so quickly. The message that CC was doing something had disappeared so I assumed synching was complete even though it seemed to me I missed seeing one the the standard messages while synching.