View Single Post
Old 02-21-2020, 04:22 AM   #774
notimp
Addict
notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.notimp ought to be getting tired of karma fortunes by now.
 
Posts: 248
Karma: 892441
Join Date: Jul 2010
Device: K2i
Some pointers on setting up android Apps like I did.

Had to reset my Likebook Mars after the current firmware update (no books shown), and therefore set up my android side of things once more as well. Thought I document it for others.

First: Boyue default ebook reader settings:

Lowest contrast setting for text (0.0% has an issue where it might not trigger that correctly at first, so set it to 0.1% first, then 0.0%), leave that for images at default. Page refresh: never. Turn off: Never. Standby: after 5 minutes. Multi document mode (tabs) off. Progress bar bottom: off. Settings>More Settings>Enable ZReder: on (has to be enabled per book). Page turning settings: Kindle style (third) ; Reading Health reminders: off;

Backlight settings: 1 pip of blue LED, 9 pips of warm LED

WLAN settings > advanced, only keep wifi on while charging enabled.
-

Android apps:

First make sure you enable Google Services in settings, so you get access to the Google Play Store (will then be available as an app).

Librera PRO
https://play.google.com/store/apps/d...eader&hl=en_US
(alternative eReading software - mainly for TTS (using Ivona TTS voices - separately installed))

Comixology
https://play.google.com/store/apps/d...omics&hl=en_US
(long press icon > optimization > full screen mode on > use regal to refresh on (?) > contrast adjustment use system contrast off and 68% contrast used (change that for different type of comics you read.)

To get Comixology to auto rotate to landscape:
Force rotation
https://play.google.com/store/apps/d...ation&hl=en_US

To get Comixology to exit guided view using a "back gesture":
Gesture control
https://play.google.com/store/apps/d...ntrol&hl=en_US
Set to large bar (left option on setup), increased bars width (height), then make the bar invisible (appearance settings or similar). Drag bar to the left is used as android "back" button, set drag right and up as you like. Mirror all settings at the drag and hold options (the liekbook isnt that responsive. ), turn off all options for just click on bar (if necessary, dont remember).

To move books over from Dropbox (free) without eating up one of your device slots for Dropbox free:

Dropsync
Use folder sync with option "Download and Delete" (so not two way), from a Dropbox folder to /Books on the Likebook Mars.

I had an issue with connecting the app up with the dropbox account using the default browser, so I installed Google Chrome, and did the authenication for Dropsync through that. This also has the positive side effect that you will also update the google services framework, to be able to use Chrome. (Throws you a reminder and opens up the play store page). You can uninstall Chrome afterwards.

Those two apps -

Gesture Control and
Force Rotation

Have to be enabled as Boot from boot (good english), and background activity under the snowflake icon on the app drawer for them to be allowed to start their services on boot) and to run in the background.

Both of them were also set to 'non optimized' in battery optimisation settings under android settings.

If Force Rotation (App) launches after every boot, turn that behavior off in its settings (service will still be launched anyhow).
--

Other apps I use (might be less interesting)

Quickly (Notification dropdown menu launcher (has to be snowflake menu enabled and set to non optimized under battery settings, same as with the two apps above, to be able to run in the background)).

KOReader (installed from the Boyue Appstore, not the google appstore - has good pdf reflow ability - but so has the default Likebook Mars Reader app, just note - that KOReader also is an option))

Perfect Viewer (Comics)

Total Commander (filebrowser, set to light theme) and Total Commander LAN addon (SMB) (setting up lan drives shows some buttons totaly whited out, so maybe revert back to dark mode, or finger pick hunt like I did.. )

Battery usage shortcut:
https://apkpure.com/battery-usage-sh...yusageshortcut
Just a shortcut to the battery usage menu

And my Ivona TTS voices Amy and Marlene (German)

and thats it.
-


To auto soft-hyphen my epubs, I use calibre 3.39.1 (I think I remember I had to revert down to that version for that usecase), with

Hyphenate this (look for dictionaries separately to finish setting it up)
https://www.mobileread.com/forums/sh...d.php?t=208534
and
Modify ePub (1.3.13)
https://www.mobileread.com/forums/sh...d.php?t=154371

installed (probably through calibres plugin search feature)

And the following bash script on a Macbook:

Code:
cd ~/Downloads

mv "$(ls -t | grep '\.epub$' |head -1)" ~/Dropbox/

sleep 1.5

cd ~/Dropbox

open -a Terminal

while true; do
	echo Processing: "$(ls -t | grep '\.epub$' |head -1)"
    read -p "Is this a german ePub?" yn
    case $yn in
        [Yy]* ) /Applications/calibre.app/Contents/console.app/Contents/MacOS/ebook-meta "$(ls -t | grep '\.epub$' |head -1)" --language de; cp "$(ls -t | grep '\.epub$' |head -1)" ~/Dropbox/Books/; cd ~/Dropbox/Books; find . -maxdepth 1 -name '*.epub' -exec /Applications/calibre.app/Contents/console.app/Contents/MacOS/calibre-debug -e ~/Documents/kindle-hyphens/main.py {} {} \;; cp "$(ls -t | grep '\.epub$' |head -1)" ~/Dropbox/Likebook/; /Applications/calibre.app/Contents/console.app/Contents/MacOS/ebook-convert "$(ls -t | grep '\.epub$' |head -1)" "$(ls -t | grep '\.epub$' |head -1 | sed 's/.epub//g' | sed 's/(\(.*\))//' | sed -e 's/[^A-Za-z0-9._-]/ /g').azw3" --share-not-sync --filter-css font-family,color --change-justification justify; rm "$(ls -t | grep '\.epub$' |head -1)"; killall Terminal; exit;;
        [Nn]* ) cp "$(ls -t | grep '\.epub$' |head -1)" ~/Dropbox/Books/; cd ~/Dropbox/Books; find . -maxdepth 1 -name '*.epub' -exec /Applications/calibre.app/Contents/console.app/Contents/MacOS/calibre-debug -e ~/Documents/kindle-hyphens/main.py {} {} \;; cp "$(ls -t | grep '\.epub$' |head -1)" ~/Dropbox/Likebook/; /Applications/calibre.app/Contents/console.app/Contents/MacOS/ebook-convert "$(ls -t | grep '\.epub$' |head -1)"  "$(ls -t | grep '\.epub$' |head -1 | sed 's/.epub//g' | sed 's/(\(.*\))//' | sed -e 's/[^A-Za-z0-9._-]/ /g').azw3" --share-not-sync --filter-css font-family,color --change-justification justify; rm "$(ls -t | grep '\.epub$' |head -1)"; killall Terminal; exit;;
        * ) echo "Please answer with yes or no.";;
    esac
done

killall Terminal
This looks up the most recent epub in the ~/Downloads folder, asks if it is a german epub or not, adds the german language tag to the epub metadata (or not), moves it to the ~/Dropbox folder, and then uses calibre, as well as the kindle hyphens script ( https://github.com/dmalinovsky/kindle-hyphens ), to copy the epub into a different Dropbox folder, and add soft-hyphens (depending on the language tag of the epub).

(And also creates an .azw in a different folder just for good messure.. )

If I remember correctly, the config file for kindle-hyphens defaults to russian as the default language (if no language tag is set). You might want to switch that to english (one small edit in the config file).

On the Likebook Mars I then just use Dropsync to download the book, and switch the book parser to ZReader in the Likebook Mars default book reader (otherwise gaps between syllables in the text, when soft-hypened).

Thats it - have fun.

Last edited by notimp; 02-21-2020 at 04:59 AM.
notimp is offline   Reply With Quote