07-16-2011, 06:41 PM | #1 |
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.
|
ANN: Navigator
Released version 3 [2011/09/04]:
- new actions: delete files, mark as unread, create shortcut, open containing folder - new virtual folders: shortcuts, recently added, recently opened - in-program help, added README file to package - code refactoring and cleaning - fixed some bugs Ideas, comments, suggestions? See TODO section for my future plans, Iņigo Summary Navigator is a file system browser for IREX DR ereaders. It works with DR800 and DR1000, both with or without DR800+ or Mackx's hack. Installation Copy the contents of the this package to <SD card>/Programs folder on your DR. They aren't any external dependencies. Instructions You can browse using the bar or with the stylus. Note some advanced features are only possible with the stylus. For safety reasons, you can only browse your SD card contents. You can open books and notes, run applications (from SDCARD/Programs) or open books/folders from Shorcuts (DR1000 and DR800+) too. Books opened in Navigator update the lastread field on the database so they will also appear con CTB's LastRead view. Tap on columns headers to change sorting. To see bottom bar icons you will need DR800+ (DR800) or Mackx's Hack (DR1000). In case you haven't installed any of them, you should use the menu. UI and Navigation Code:
* with the bar - left: up one file - long left: 10 files up, or parent folder if in first entry - right: down one file - long right: 10 files down - press: enter a folder, open a book, or run an application (.desktop) * tap with the stylus on - file name or file type: enter folder, open book, run application - first column, size or mtime: focus on this file - last column: mark/unmark file * at the top of screen - current folder path. It works like breadcrumbs, you can click on a partial path - button bookmarks. Have breadcrumbs-like functionality too - button last read books. You can open the book or browse its folder - button last visited folders. Have breadcrumbs-like functionality too - button search (not implemented yet) * the menu - Show/hide book information details - Show/hide hidden files - Toggle fullscreen - Help - Close - Actions: . Delete file(s) . Edit metadata (not implemented yet) . Update metadata from file (not implemented yet) . Mark as unread . Create shortcut . Open containing folder, only for virtual folders - Virtual folders: . Shortcuts, same as in DR1000 or DR800+ . Recently added, by default shows 25 entries but configurable, sorting is not allowed . Recently opened, by default shows 25 entries but configurable, sorting is not allowed Navigator stores its preferences in the configuration SDCARD/Programs/_config/.navigator/navigator.ini Note first bookmark is also the folder showing at the start. I include here an example. Contents are between ===== lines: Code:
========== Configuration file ========== ##### Navigator configuration file [Options] Show details=true Show hidden=false Fullscreen=false Sort case sensitive=false Number of items in vfolders=50 [Bookmarks] 1=/media/mmcblk0p1/Programs 2=/media/mmcblk0p1/System/Shortcuts 3=/media/mmcblk0p1/# Recently added # 4=/media/mmcblk0p1/# Recently opened # 5=/media/mmcblk0p1/# Shortcuts # ... 25=/media/mmcblk0p1 ##### End of file ========== End of Configuration file ========== Written in vala. Sources are in BitBucket: https://bitbucket.org/inigoserna/dr-vala/ This program is in "navigator", and needs libs in "irex" folder. TODO Code:
* Todo: - write a selection dialog: mark all, none, by extension, except extension - actions: . edit metadata: title, author, tags, cover (?) . update metadata and thumbnail with book contents, add files to global.db first if new - search: by folder/filename, or by metadata -> virtual folder - tags-based browsing - ui for preferences * Regarding DR800+ integration (and Mackx's Hack eventually): - put a Navigator shortcut in HOME - disable UDS updates to metadata except cover (configurable in dr.ini) - open folder in CTB -> dr800+ CTB gotoLocation - from CTB, open folder in Navigator -> ipc - allow multiple tags (borrow code from Mackx's Hack) * ISSUES and BUGS: - capture error message if running .desktop app fails - hide focus - update last read book -> impossible, as it's handled by ctb - [rvs] use partial refreshes for selection EDIT 2011/07/17 22:16 -> new package with some minor modifications EDIT 2011/07/20 18:12 -> v1 EDIT 2011/07/23 15:50 -> v2 EDIT 2011/09/24 16:09 -> v3 Last edited by Iņigo; 09-04-2011 at 12:22 PM. |
07-17-2011, 03:18 AM | #2 |
Fanatic
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
|
Looks interesting, I'll try it and see. just a couple of things. How do you install it? and when MACx updates his patches do you have to re-install?
Or do you just run it as an application? (My DR is in the Office just now and I'm not...) |
Advert | |
|
07-17-2011, 04:17 AM | #3 | |
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:
To install, copy the contents of the .tag.gz file ("_navigator" folder and "Navigator.desktop" file) to your DR's SDCard/Programs. Use 7zip (not winrar or winzip) if you are uncompressing in a windows machine. It works as an external application so no problem if you upgrade the firmware. I'm considering including it in DR800+ but it would be available as a standalone program as well. Iņigo |
|
07-17-2011, 08:07 AM | #4 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
Hi Iņigo,
Great work. I'm tempted to make this my default navigator, because I like the small font a lot. I can only think of 3 suggestions for small improvements: - make the sorting case-insensitive - fix the bug where if there's an '&' in the directory path, the directory and any subdirectories won't be shown in the full path at the top of the screen (i.e. "SDCARD/Books/SC & E/Java" shows up as "SDCARD/Books") - (if not too much work) use partial refreshes for selection |
07-17-2011, 04:23 PM | #5 | |
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 partial refreshes (#3), I don't know how to achieve it. In my DR800, moving cursor makes a partial refresh or a complete screen refresh randomly. It should be handled by IREX patched gtk+ libs automatically. IREX docs says that the refresh engine would make the proper action depending on the "size of the updated portion of the screen" (sic). Iņigo |
|
Advert | |
|
07-17-2011, 05:48 PM | #6 |
Addict
Posts: 326
Karma: 6908
Join Date: Sep 2010
Device: DRs, EE, ipad/iphone, Helix
|
thanks a lot, will try right now !
|
07-18-2011, 06:08 AM | #7 | |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
Quote:
|
|
07-20-2011, 12:27 PM | #8 |
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.
|
New version on first message.
Changes: - Bookmarks. Paths work like the header in main window, you can click on any part of the path - Preferences: state and bookmarks. It's stored on SD_card/Programs/_config/.navigator/navigator.ini - You can run applications (.desktop files on SD_card/Programs) or open books from shorcuts (SD_card/System/Shorcuts folder). Note System si hidden by default Iņigo |
07-21-2011, 02:33 PM | #9 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2011
Device: iREX 1000s
|
Thank you, Iņigo
It is very useful software. I have a lot of files with long names and your navigator is much better and more helpful, than standard soft. One thing I noticed that is not exactly intuitive - your navigator do not show parent directory name as part of the file list... I took for me several minutes, before I looked up your explanations :-) and clicked top corner path to navigate off current directory. May be it make sense to put this additional line (clickable parent dir name) as first line in the file list? (while keeping top corner info as it is - unmodified). |
07-21-2011, 03:39 PM | #10 | |
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:
First code used to have a ".." parent entry as first item in the list but it didn't fit good with the details view, and it also made code more complex. Anyway, I think once you know how to go up, it's much easier now. Note two additional features: - if you are in first entry, doing a "long left" you navigate to updir - the path entry at top is special: clicking on parts of the "label" you can navigate to different paths... it's a poor's man breadcrumb. And same for bookmarks "labels" Iņigo |
|
07-22-2011, 06:48 AM | #11 |
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.
|
I've been thinking on the evolution of Navigator, and making it useful for most people, even as a complete CTB replacement.
So here are some ideas of possible future improvements for discussion: * write a selection dialog: mark all, none, by extension, except extension * actions: - delete files - update metadata and thumbnail with book contents, add files to global.db first if new - edit metadata * search: by folder/filename, or by metadata * write documentation... any volunteer? Regarding DR800+ integration (and Mackx's Hack eventually): - put a Navigator shortcut in HOME - disable UDS updates to metadata except cover (configurable in dr.ini) - allow multiple tags (borrow code from Mackx's Hack) What do you think? suggestions? Iņigo PS: anyway this is a medium-term roadmap, I won't be able to work on this on next weeks |
07-22-2011, 08:26 AM | #12 |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
To make it a suitable replacement for ctb in my book it would need the following features:
- update metadata on opening book (lastread entry) - ability to sort on lastread and lastadded - ability to make one of the above the default sort method I realize though this might defeat the purpose of the program, as it was meant to be a replacement for an indexed file browser. So feel free to ignore this. I'm actually quite happy with ctb except for its inefficient use of screen space. |
07-22-2011, 10:19 AM | #13 | |
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:
Lastread entry is a CTB feature... but maybe we can copy it and have a special folder "last opened items"... Other long-term ideas include tags-based browsing, so we'll need a virtual folder support for it. Then these last opened or last added views would be easier to implement. Anyway, I expressed myself wrongly, I didn't mean to make Navigator a CTB replacement, I want to make it a CTB alternative for some types of books browsing. Thanks for your comments, Iņigo Last edited by Iņigo; 07-22-2011 at 10:22 AM. |
|
07-22-2011, 11:43 AM | #14 | |
Groupie
Posts: 181
Karma: 364
Join Date: Oct 2009
Device: DR1000s, Hanlin V5
|
Quote:
I'll see if I can get ctb to waste less space in list mode. Anyway, great program |
|
07-22-2011, 01:10 PM | #15 | |
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:
Maybe we can't have to wait for virtual folders navigation, I can easily store last opened items in a list and show a window (similar to bookmarks) with last 25 entries... Even it could update global.db's "file_time_lastread" field so this could sync CTB views too. Let's go for it |
|
Tags |
ctb, file browser, navigator |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANN: FBReader v0.12.10 for DR1000 and DR800 | Iņigo | iRex | 100 | 12-18-2011 08:18 AM |
Hi from Ann Arbor, Michigan | anjirlly | Introduce Yourself | 15 | 11-02-2010 08:02 PM |
Ann Coulter and Civility | Fat Abe | Lounge | 10 | 04-15-2010 05:34 AM |
New user using mobireader for nokia 6210 navigator | mdotcom | Introduce Yourself | 4 | 02-19-2010 08:53 PM |