12-14-2010, 04:09 PM | #16 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
Have a look at ipc_sys_bg_busy() it prevents the DR from going into sleep mode after more then 10s of user inactivity. Since loading a file in the background IS user inactivity, using the function at appropriate places might improve the behaviour (as it did with xournal). Marcel |
|
12-14-2010, 07:55 PM | #17 | |
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 icons.lua script has been improved and now is able to extract covers from FB2 files and add the images to the DR global database: https://www.mobileread.com/forums/sho...0&postcount=24 cool, isn't it? EDIT: currently, the script in the lua package updates all the files each time you run the script, which is lot of time if you have many files. I'll change the defaults to add to DB if file is not present there only and a new flag to force update. Last edited by Iņigo; 12-15-2010 at 04:51 AM. |
|
Advert | |
|
12-15-2010, 04:47 AM | #18 | |
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:
Btw, Mackx, I've added you to the administrators list of FBReader-dr repository, feel free to hack on it. Iņigo |
|
12-15-2010, 06:47 AM | #19 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
|
12-15-2010, 07:20 AM | #20 |
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.
|
|
Advert | |
|
12-15-2010, 10:15 AM | #21 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: iREX D800SG
|
Quote:
|
|
12-15-2010, 03:49 PM | #22 | |
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:
In fact there is a new command line flag (--force-update or -u) that overrides the new default, but as advanced function you can't specify it from gui-icons.lua script. (Tip: you can use the RunDebug script if you need ;-) Iņigo |
|
12-15-2010, 05:32 PM | #23 |
Addict
Posts: 206
Karma: 14
Join Date: Dec 2009
Device: iRex DR800SG, Onyx Boox M92
|
Hi Iņigo,
I think there are serious problems in triggering screen refresh (I have the latest DR800+, base, FBReader and lua packages installed). When I ran the generate icons script I could see the results only when I triggered a refresh by pushing menu button and I think the same goes with the search dialog in FBReader (search is so slow, but I can't figure out if it's because screen refresh or search itself). |
12-15-2010, 07:54 PM | #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:
The simplest solution I can think of for this script is to run an animated image in a timeout to prevent user inactivy. What do you think? [1] http://bitbucket.org/inigoserna/fbre...en-opening-big |
|
12-16-2010, 02:08 AM | #25 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
Maybe the ipc_sys_bg_busy() will also solve these problems. |
|
12-16-2010, 04:33 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.
|
Quote:
PS: btw, didn't know the meaning of "tease", a new (and fun) new word for my dictionary ;-) |
|
12-16-2010, 07:47 AM | #27 |
Addict
Posts: 206
Karma: 14
Join Date: Dec 2009
Device: iRex DR800SG, Onyx Boox M92
|
So can you please test the word search? Does it work on your devices?
|
12-16-2010, 03:46 PM | #28 |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
I also have problems, with the search dialog (I never used it before). I got a copy of the archive of Iņigo and I am first looking into opening files. Maybe there is a generic solution that can also be used for searching.
|
12-18-2010, 04:18 PM | #29 | |
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:
In my tests with FB2 files I've observed two problems: 1. searching is quite slow 2. you have to trigger a screen refresh in order to show the results. I don't think we can solve the first issue, and as the second one, the Mackx's magical solution (ipc_sys_bg_busy) could work. Are these the same problems you are getting? |
|
12-18-2010, 07:44 PM | #30 |
Addict
Posts: 206
Karma: 14
Join Date: Dec 2009
Device: iRex DR800SG, Onyx Boox M92
|
yes, especially screen refresh is annoying.
|
Tags |
fbreader |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DR800 ANN: DR800+. Port of some DR1000 features to the DR800 | Iņigo | iRex | 274 | 04-05-2013 02:24 PM |
DR800 Plugin development for DR800/DR1000 | yuri_b | iRex Developer's Corner | 0 | 09-18-2010 09:46 AM |
IREX DR800 or DR1000? | sordie | Which one should I buy? | 8 | 03-21-2010 08:10 PM |
perl for the DR800/DR1000? | Mr. X | iRex | 1 | 03-16-2010 07:47 AM |