Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-19-2016, 07: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: 771
Karma: 625816
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, 608 views)

Last edited by nhedgehog; 02-27-2017 at 03:16 AM. Reason: clarifications
nhedgehog is offline   Reply With Quote
Old 12-19-2016, 11: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: 771
Karma: 625816
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
Old 02-27-2017, 03: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: 771
Karma: 625816
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


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 12:20 PM
How to remove "Fully read" books from "Last Open" list? pjeanetta PocketBook 4 12-08-2010 11:30 AM


All times are GMT -4. The time now is 03:59 PM.


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