View Single Post
Old 05-25-2010, 04:59 AM   #1225
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Ankh
Quote:
Short answer, kartu... this thread is gigantic.
I understand, but there are links to wiki pages on projects site in the first post. Probably most of the user base has already installed previous versions and is doing it as before.

sherman
Quote:
As far as I'm aware (I could be very wrong here..) the book database on the internal memory seems to simply be an XML file at /database/cache/media.xml . Is this correct?
Same goes for SD/MS cards, file has different name but it's still (almost) the same XML.

Quote:
If the above were true, an idea may be to have an option to disable scanning of internal memory when USB is disconnected. Instead, if one could talk with the Calibre developers to implement managing the database from within calibre instead. This would be much faster I'm sure.
I see where you are heading to. Scanning comes down to:
1) Reading XML files
2) Walking through ALL folders on IM/SD/MS card (in case of external cards it's particularly slow)
3) If new books are found, opening them (!) to read author, title etc. (slow, but, probably, unavoidable)

Pepak suggested skipping steps 2-3 some time ago, at that time it was quite hard to implement, now it seems possible. Actually, even using external program to create cache XML files won't be necessary as reader could do it itself, it would be only necessary to manually trigger rescan. (well, and wait )

But that being said, 3-5 minutes to scan 200 books on INTERNAL memory, seems to be too long.

jackie_w
Quote:
Is it feasible for PRS+ to add extra info into the Status bar, alongside page numbers.
e.g. current chapter, book title would be nice.
I am not sure that "current chapter" info is available, book title, however is.
But the question is, where could one fit all that info? And isn't it simpler to do it when preparing the book (ok EPUB doesn't have page header/footer, but LRF does)
kartu is offline   Reply With Quote