Quote:
Originally Posted by vinnyt
Looking much better. However I'm still seeing an issue with dogears bubbling to the top of the output even though it belongs to a later chapter/subchapter. Possibly a bug in the query for chapter identification for dogears.
|
It looks fine with my books. Does it happen for all your books or just a single one?
Quote:
Originally Posted by vinnyt
Also here is an updated config script. I added a 'sleep 5' just before the http call in the notes.sh script. This is to make sure there is enough time for wifi to connect. The last curl command returns an error and the main NM config waits upto to 10 seconds for everything to complete.
|
Ideally we'd have to use a ping test or similar to find out if an connection is working (e.g.
https://github.com/fsantini/KoboClou...get.sh#L21-L37).
The sleep however doesn't have to be included in the script, as NickelMenu supports that too:
Code:
menu_item :main :Sync Annotations :nickel_wifi :autoconnect
chain_success :cmd_output :9999:quiet:sleep 5
chain_success :cmd_output :9999:quiet:/mnt/onboard/.adds/notes/notes.sh
chain_success:skip:2
chain_failure :dbg_toast :Failed to sync notes!
chain_always:skip:-1
chain_success :dbg_toast :Notes Sync Complete!
You might also want to hook this script into KoboCloud or run it manually, hence a sleep 5 inside the script is IMHO not the best approach.