06-14-2011, 10:13 AM | #16 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
I am creating a new hack that allows to create extra 'drinfo' files, these files (one per document) would be read during indexing and overrule the information that was extracted by the normal indexing process. This allows to change Title, Author, tags (including no_update) of all NEW documents (or you need to 'touch' an existing document to change its modification date). |
|
06-14-2011, 10:47 AM | #17 | ||||
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
Adding an option to automatically add the no_update tag could indeed be implemented. What about the new feature (drinfo-files) that I described a few messages back. It would not alone allow you to add the no_update-tag, but also allow you to change the Title of a book. I am currently experimenting with a small batch-script that creates drinfo files for all files in a folder that sets the filename as Title and sets the no_update-tag. These can then manually be changed. Quote:
Quote:
Quote:
Does the hack add the 'no-update' tag to all new documents? (subtle hint: send me the code:-) |
||||
Advert | |
|
06-14-2011, 11:15 AM | #18 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
The problem of Viasheslav (and maybe of others) is not yet addressed. I can see if it is possible to disable the indexing and create a kind of 'lazy-indexing'. This would mean that only the SD-card view would work and that, when entering a folder its current content would be read and added (or replace) the memory-database-view-content. This would add some delay when showing folders.
This would also mean that features like search and the 'views' do not work. Should this mode then be enabled automatically when there are 'too many' books on the SD-card or manually with an option in Settings? A hybrid mode would also be possible, limiting the files that are indexed (and thus available in the non SDCard-view) and using the lazy-indexing in the SDCard-view. Any comments? |
06-14-2011, 11:19 AM | #19 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
Automatic creation of drinfo files is a great idea in itself, but not a very clean solution to my problem I think.
There's already a built-in option to show the filenames instead of titles, except it's only used on the SD-card view. It's easy to extend this to every title (now that I've found the relevant function). This would have no effect on the global.db file, which means it's possible to switch between the different views without a problem. Tell me if you think it's a useful feature and I'll add a configurable setting and send it to you. |
06-14-2011, 11:42 AM | #20 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
|
|
Advert | |
|
06-14-2011, 04:56 PM | #21 | |
Addict
Posts: 326
Karma: 6908
Join Date: Sep 2010
Device: DRs, EE, ipad/iphone, Helix
|
Quote:
|
|
06-15-2011, 05:03 AM | #22 | |||
Connoisseur
Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
|
Quote:
It would be so cool to have an option to turn off all indexing to save the CPU time and make the reader start faster and be more responsive. We already have a global preference checkbox "Enable SD card view". There could be another checkbox next to it "Enable Bookshelf view" (checked by default). Unchecking it could turn off all indexing and hide the irex's default views because they become empty. Quote:
An optional intelligent "lazy indexing" mode would also be cool, if not too complex or too long to implement. Quote:
As for the search function, the new thing is that in the case of lazy indexing the database can be not in sync with the filesystem. Therefore, a good searching function must - find everything in the database; - verify, if the records found point to really existing files; - show all verified records / delete invalid ones as verification progresses; - when verification finishes continue searching by looking through the filesystem unless stopped by the user. The ability to limit indexing to certain folders on the card might also be nice, but it needs a rather complex GUI part to specify the folders. The optional indexing daemon could also be compiled as an optional standalone tool for a real Linux-PC. My 2.8Ghz quad-core box can index the card and build a complete DB for the reader in minutes. Last edited by Viacheslav; 06-15-2011 at 05:15 AM. |
|||
06-16-2011, 06:34 AM | #23 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
I continued further discussion in the developer's corner. See this thread.
|
06-18-2011, 08:37 AM | #24 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
Regarding Viacheslav's problem... 100k+ books are too many for what DR developers thought would be common user cases... not only the software, hardware itself (CPU, memory...) is not sized for that amount of books (btw, how much is the size of your global.db file?)... so it's not fair to blame them, in fact it's your own issue because you didn't study the limits of the device ;-) Me myself use a 4GB SD card with over 5000 books, and I can't use Books view either due to CTB/DB slowness. Thus, I'm using Shortcuts and SD views. As posible solutions I can think on different combined ways: 1. The ugly hack Indexing is automatically started by sysd each time it detects a card is mounted, calling ctb which then run mdbindex program. Modifying this behaviour implies lots of ugly source changing, so I don't like it. But you can rename "mdbindex" program file name to anything else (f.e. "mdbindex.real"), this way the indexing would not be performed. A good thing should be to have a "mdbindex" executable file that accepts same arguments but do nothing to avoid error messages. Then, each time you add/delete/modify SD card contents, you should run "mdbindex.real" manually and leave it all the night to finish. Yes, ugly, but quite easy and better than what you have now 2. A new dedicated files browser This could be nice for everybody... but someone has to get hands dirty and write it. In fact this is a project in my TODO list for some time ago and I even wrote a somehow working file manager sometime ago for the Iliad in lua language that works for DR as well. Anyway, it lacks DR integration and book opening but it is an advanced working point. LATER: - I've read other people has already explained what I say - Mackx's ideas: I'll comment them in another post Iņigo |
|
06-18-2011, 08:49 AM | #25 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
The idea was that every new book added to the DR is stored in an INBOX waiting to be tagged/moved. This could be improved to be bypass-ed for some kinds of books that would get their proper tags and directory in SD based on their file name. [1] https://www.mobileread.com/forums/sho...manager&page=5 |
|
06-18-2011, 09:20 AM | #26 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Hi,
I got time to read and think on all this stuff. I've written my answers on some ideas commented along this thread. I've splitted what I don't like and what I think should be easy/powerful. Please note I don't want to despise other people ideas, just share what I think are pros and cons. NO:
YES:
[1] People who have read my posts in this forum since some time ago already knows that this is/was a project always on my TODO list. In fact I already have an external book manager able to generate that DB... Iņigo Last edited by Iņigo; 06-18-2011 at 01:27 PM. |
06-18-2011, 03:59 PM | #27 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
|
|
06-18-2011, 04:23 PM | #28 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
|
|
06-18-2011, 06:07 PM | #29 | |
Connoisseur
Posts: 59
Karma: 136
Join Date: Dec 2008
Device: iRex DR1000
|
Quote:
Thanks for the ugly hack tip! I'll try to substitute the indexer with a dummy script. Last edited by Viacheslav; 06-18-2011 at 06:09 PM. |
|
06-18-2011, 06:23 PM | #30 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
|
Tags |
dr800, firmware |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Upgrading REB1200 Firmware V2.0 to V3.3 | James Bryant | Legacy E-Book Devices | 7 | 11-27-2011 08:38 PM |
Upgrading Firmware? | bobsi18 | Kobo Reader | 6 | 04-20-2011 08:27 AM |
Upgrading Firmware | misterken | Astak EZReader | 16 | 02-06-2010 10:34 PM |
Upgrading from US firmware 1.1 to UK 1.2 | dburns | Sony Reader Dev Corner | 4 | 02-25-2009 02:16 PM |