![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
Metadata Updates
How do CC & Calibre determine if metadata needs updating on the device? Does it look at the time stamps of the file or does it do a detailed comparison between Calibre and CC?
Do CC/Calibre use the same date-time when writing book files to the device? Reason I am asking: I was examining the files in the device folder and noticed that some of the files had times that were in the future. Not sure how that happened. Edit: both the device and pc date/times were set to the same time zone with network updates of time. |
![]() |
![]() |
![]() |
#2 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
Thank you.
Edit: The last paragraph described a situation that may be causing metadata to be repeatedly updated on sequential connections following initial transfer to device. (Still trying to get all my books on the backup reader, almost up to 16k now) Last edited by gsparks2; 04-26-2015 at 08:43 AM. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It is very easy to change the mod time for a book without directly changing the book. For example, changing the case of a tag in book 1 will change the mod time of every book with that tag. The same thing is true of any shared value such as series or authors. Changing the template of a column built from other columns changes the mod time for every book in the library. |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
ok, thanks.
What I am seeing is: Connect CC to Calibre as wireless device. Select books in Calibre to send to device. Calibre sends books to device. Calibre sends metadata to device. <<connection lost for any number of reasons>> Reconnect CC to Calibre as Wireless device. CC sends metadata of every book to Calibre. Calibre analyzes books on device. Calibre sends metadata back to device. During all of this, I have not changed any metadata in Calibre nor have I changed the book files. Edit: I may be here: http://www.mobileread.mobi/forums/sh...d.php?t=220906 Last edited by gsparks2; 04-26-2015 at 10:07 AM. |
![]() |
![]() |
![]() |
#6 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
CC sending all metadata to calibre implies that the device book cache in the driver in calibre is corrupt. In this case it throws it away and asks for a new copy. The only way I know that it could become corrupt is for calibre to run out of memory or disk space. Are you running calibre x64? Are any of your drives running low on disk space? (I don't remember what OS you are running? Quote:
If you don't mind, the best way to proceed here is for me to see debug logs both from calibre and from CC. Instructions are in our FAQ answer How do I get help? Please remove the multipie.co.uk address when you send CC's debug log. No need to bring my son into this. |
||||
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
This may be similar to what happens to time when you dual boot Linux and Windows.
Windows sets the Clock chip in the PC to Local time. Linux use UTC and adjusts the display by Locale There is a Registry setting you can add to make Windows use UTC BTW I used to see the future date when my Astak USB worked (broken now traces and I only use the SD card) |
![]() |
![]() |
![]() |
#8 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
Quote:
Not all Metadata is resent. Just most of it. (this time 14900 of 16057). I will send debug logs. It may be tomorrow as I am in a lengthy run of calibre sending metadata to device. If/when it stops again I will send logs. Device is the Android Gingerbread device. Device has 512 MB ram and 16 GB internal with 13.3 GB free. Book files are going on 16 GB external SD card with 6 GB free after loading 16057 books. Calibre is x64 latest version 2.26 My PC runs Windows 7 Professional with 9 GB ram and first gen core i9 processor. while processing, calibre is using 1.1 GB memory. PC has ~5 GB memory in standby. |
|
![]() |
![]() |
![]() |
#9 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
Quote:
Interesting thought on using UTC on PC. I am in US central time zone. I wonder if I can adapt. ![]() |
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
me either
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
Charles,
I cannot duplicate the situation. |
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 886
Join Date: Apr 2005
Device: Moon+ Reader Pro on Samsung Galaxy S7 Edge International version
|
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! Last edited by gsparks2; 04-29-2015 at 11:34 AM. |
![]() |
![]() |
![]() |
#15 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I am away with no access to my computers, so this is from memory.
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
|
![]() |
||||
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 |