09-08-2008, 09:02 AM | #1 |
Guru
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Strange issue with media.xml
I am writing myself an application for creating collections, and I have enountered a strange problem:
I need to fill in the 'date' attribute of <xs1:text> tag: Code:
<xs1:text ... date="Wed, 03 Sep 2008 16:57:34 GMT" /> I need to know because if I keep the date at the value I read from the filesystem, the Reader will think the file got changed and will rebuild the cache for it. I need it to accept the modifications I did to media.xml, and that means I need to set the correct date - which is different than the date in filesystem. Any ideas? |
09-08-2008, 09:17 AM | #2 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
There is a packet eBook Library sends to the Reader when it connects. It contains the PC's current time and timezone. Reader stores it in a local file.
|
Advert | |
|
09-08-2008, 09:42 AM | #3 |
Guru
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Ah. That would explain how the reader knew about the timezone - I did run the Library once.
OK, I can handle that. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre keeps saying database of books is corrupted. Media.xml file | seajewel | Calibre | 8 | 02-26-2010 09:35 PM |
media.xml reported missing every time 505 inserts | ndep | Calibre | 1 | 10-10-2009 11:18 PM |
WinXP 0.6.5 corrupted media.xml | siulayhumga | Calibre | 3 | 08-10-2009 01:34 PM |
Media.XML and how to create one from pc | Student1 | Sony Reader Dev Corner | 4 | 05-06-2009 07:39 PM |
Creating media.xml manually | pepak | Sony Reader | 5 | 11-28-2008 10:26 AM |