Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-12-2008, 02:47 AM   #1
pepak
Guru
pepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura aboutpepak has a spectacular aura about
 
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
Relationship between multiple cache files

Is there any relationship between the three cache files (internal memory cache, MS cache, SD cache)? That is, if I e.g. modify one, should I update the others to keep in sync? Specifically, I am interested in record IDs: Suppose that I have:

- Internal memory cache:
Code:
...
<xs1:text ... id="5" ... />
...
- SD cache:
Code:
...
<text ... id="6" ... />
...
Now I add another document to the internal memory. Do I need to concern myself with IDs in the SD cache or is it enough to make sure that the new ID is unique within the internal memory cache? In other words, if I modify the internal memory cache to:
Code:
...
<xs1:text ... id="5" ... />
<xs1:text ... id="6" ... />
...
Will it have any adverse effects on the same-IDed record in the SD cache? Or vice versa.
pepak is offline   Reply With Quote
Old 09-12-2008, 05:29 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,380
Karma: 23764838
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
depends on the firmware of the reader in question. IIRC, the original firmware on the 500 required the numbers on the storage card databases to always be greater than the largest number in the main memory db. I think the 505 relaxed that requirement, but I'm not a 100% sure. Look at the books.py code in calibre to check.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cropping Multiple Files SpyKiIIer PDF 16 12-07-2012 12:09 AM
starting with multiple files? Alkiera Sigil 4 02-07-2011 02:03 AM
Txt files - Convert to Epub - Multiple files into one book - noob help Cernan Calibre 6 05-18-2010 10:12 AM
Multiple Calibre Files? Sydney's Mom Calibre 21 05-02-2010 10:42 AM
Multiple HTML Files JJH1947 Calibre 4 04-07-2009 10:24 AM


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


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