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

Go Back   MobileRead Forums > E-Book Readers > PocketBook > PocketBook Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-19-2016, 06:58 AM   #1
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 743
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Selector&Epubinfo - bringing "open with" menu back in FW5

Since Pocketbook removed/crippled the open with menu in FW5, extension.cfg is not what it was before.
Epubinfo.app was helping to overcome this limit regarding the epub-file format. I wanted this for other filetypes to (f.i. to decide if KoReader or AdobeViewer should be used with pdf-files).

This is a quick and dirty patch of epubinfo.app to have it working with other filetypes too. I renamed it to avoid confusion. Program changes are in an early state. If other filetypes than epub are opened, the program now shows only standard cover without any infos and after clicking at the center of screen allows the selection of the opening app, following the entries in extension.cfg.

I couldn't get Koreader in the actual configuration work properly with it, but after changing the /system/bin/koreader.app
before:
Quote:
if [ `echo $@ | wc -c` -eq 1 ]; then
args="/mnt/ext1/"
else
args="$@"
fi
into:
Quote:
if [ `echo $@ | wc -c` -eq 1 ]; then
#args="/mnt/ext1/"
args="$1"
else
args="$1"
fi
it seems to work fine.

Thanks goes to SirSteiner and the unknown original French author of epubinfo for providing the sources. Compiled version is for PB626 FW5.

selector.app goes into /system/bin and extension.cfg has to be changed/created accordingly f.i.:
Quote:
pdf:@PDF_pdf:@PDF_file:1:selector.app,AdobeViewer. app,koreader.app:ICON_PDF
Bugs: Filenames with "." are not working properly.

Tip: Combined with https://github.com/Lighting/Setup-openwith it works even better.
Attached Files
File Type: zip Selector.zip (51.4 KB, 568 views)

Last edited by nhedgehog; 02-27-2017 at 02:16 AM. Reason: clarifications
nhedgehog is offline   Reply With Quote
Old 12-19-2016, 10:19 AM   #2
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 743
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Update:
New version without error message at the beginning.
Status: Release
nhedgehog is offline   Reply With Quote
Advert
Old 02-27-2017, 02:47 AM   #3
nhedgehog
Guru
nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.nhedgehog ought to be getting tired of karma fortunes by now.
 
Posts: 743
Karma: 619508
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
Update:
Information about KoReader changed.
Tip added.
nhedgehog is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alter Double-click behaviour to "edit metadata" instead of "open ebook?" Feather_Qwill Library Management 5 09-15-2013 11:20 AM
How to remove "Fully read" books from "Last Open" list? pjeanetta PocketBook 4 12-08-2010 10:30 AM


All times are GMT -4. The time now is 08:24 AM.


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