Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre Companion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-29-2015, 01:05 PM   #16
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Quote:
Originally Posted by chaley View Post
I am away with no access to my computers, so this is from memory.
I would not expect CC to send any metadata at this time. It must send some base information to tell calibre what it needs to know to check its cache. If metadata for new books is being sent back to calibre then the last mod time in calibre's cache is being changed after the book is sent. How is a mystery. Do you have the reading list plugin installed with it keeping track of what is on the device? That would update metadata for the newly sent books at some point in the process.
This is consistent with the above: calibre and CC disagree about the metadata the cc has. Calibre must resend it.
You can get a glorious amount of detail of you run calibre in debug mode. It will log the state of the cache, how many books are in it, how many are not, what it sends, and in many cases why.
Quote:
Do you have the reading list plugin installed with it keeping track of what is on the device? That would update metadata for the newly sent books at some point in the process.
Yes.
Quote:
You can get a glorious amount of detail of you run calibre in debug mode. It will log the state of the cache, how many books are in it, how many are not, what it sends, and in many cases why.
I will run Calibre in debug mode and capture the log.

Thank you.
gsparks2 is offline   Reply With Quote
Old 05-01-2015, 08:12 AM   #17
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,488
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by gsparks2 View Post
chaley,
Is this the expected behaviour of CC and Calibre?

Calibre Job times:
Start with 8940 books on device.
Upload 60 books to device 2m 44s
Send metadata to device 0m 19s
<disconnect CC>
<Wait ~30s until Calibre disconnects.>
<connect as Wireless Device in CC>
Get device information 0m 18s
Set library information 0m 1s
Get list of books on device 0m 43s
<during this time CC quickly sends metadata for the 60 books to Calibre, less than 10 seconds then Calibre analyses the books on device>
Send metadata to device 2m 30s
<during this time CC displays progress bar for receiving metadata for the 60 books>
Total elapse time: ~6m 35s

It seems that metadata is sent several times back and forth. I am just trying to understand what is going on.

Thanks!
I am now able to look at the code, and there is (now was) a processing path where CC and calibre exchanged metadata for all newly-sent books at the next wireless device connection. This was a one-time thing, but it does seem to describe what you saw.
chaley is offline   Reply With Quote
Advert
Old 05-01-2015, 10:55 AM   #18
gsparks2
Connoisseur
gsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-booksgsparks2 has learned how to read e-books
 
Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
Quote:
Originally Posted by chaley View Post
I am now able to look at the code, and there is (now was) a processing path where CC and calibre exchanged metadata for all newly-sent books at the next wireless device connection. This was a one-time thing, but it does seem to describe what you saw.
Thank you!
gsparks2 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I sync metadata updates to books already on the device? badbob001 Calibre 2 04-02-2015 09:57 PM
Do Calibre metadata updates automatically get sent to CC? HarryT Calibre Companion 12 09-29-2014 03:45 PM
Regarding using metadata objects in identify method of metadata download plugin api aprekates Development 1 07-06-2014 03:35 AM
Save the Metadata to the Libary files/change filename to the Metadata RyuujiTakasu Calibre 10 03-19-2014 02:01 PM
Calibre metadata.calibre not allowing updates Chuckels550 Calibre 10 08-09-2010 05:12 PM


All times are GMT -4. The time now is 08:45 PM.


MobileRead.com is a privately owned, operated and funded community.