View Single Post
Old 10-07-2014, 11:12 AM   #12
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,495
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kaufman View Post
Yes, I use two machines, and I am syncing my dropbox library via dropbox. Also, when I disconnect, I always use the disconnect button in CC. I never just kill the processes on either device. I am using the most recent version of both programs.

I am seeing things that are similar to what you say I should expect, but not exactly the same.

1) If I change a custom column so that all metadata is impacted, I will get a full metadata transfer from C to CC the next time I connect on both machines.
This is as expected. It should be sending metadata from C to CC, not from CC to C.
Quote:
2) As a subset of this, if I change a few books, they will all resend their metadata on the next connect.
As expected.
Quote:
3) If I change the ePub, it will get sent on the next connect, but only once. Not once per machine.
Do you have book sync turned on? I hope so.

This too is as desired, but I hadn't actually tried it. What it means is that dropbox is preserving file modification dates for the formats as it syncs them. This is good.
Quote:
4) Each time I connect on either machine for the first time after connecting on the other machine, I get the "asking calibre what metadata it needs" for about 20 seconds, then I get the "sending metadata to calibre" where it sends all of the metadata for my whole library. This takes over a minute. Then it resends whatever metadata has changed on the other machine.
This one I don't understand. It happens *every time* you change the computer running calibre? I tried this using my laptop and desktop and it does not happen for me, assuming I had not changed my library.

The only way I can see this happening is if calibre's cache of the metadata on the device is not being saved properly. If this happens then the first time you connect after starting calibre CC will send all metadata. It won't send it again until you quit and restart calibre. Is this what is happening?

I looked at calibre's code and on a mac the cache is in "~/Library/Caches" where the ~ character means your home folder. Does this folder exist? Is it synced between the two machines?
Quote:
5) If I then connect on either machine where I haven't connected on the other machine, I get the "asking calibre what metadata it needs" for about 20 seconds. Then it sends whatever metadata has changed on the this machine.
This again is normal. During that 20 seconds you will see "Analyzing book info" (or some such) on the calibre side.
Quote:
This might not be a new issue. Connections do seem a lot slower these days, but I can't tell for sure when it started. I haven't bought it up because it was just an inconvenience, and I didn't wan't to bother you if everything was still working. I also suspected it might have something to do with my large library
The only thing I have done that will have slowed down the "analyzing" phase is book syncing. If that option is on then calibre must check the date of every book file, which requires going to the disk. That could account for the 20 seconds being more than it was before.

Last edited by DoctorOhh; 10-08-2014 at 03:53 AM. Reason: corrected 1st close quote
chaley is offline   Reply With Quote