Quote:
Originally Posted by knc1
Quote:
Originally Posted by notimp
Not sure if possible - but, could you have your script activate the Kindles Wifi (- Kindle then auto connects) on start, and deactivate it again once sync is finished? It would be neat to have that functionality. Those extra steps become quite tedious after a while.. 
|
There are lipc commands for those purposes that probably could be included in the script.
Give it a try and let us know.
|
Made it work.
Replace the "synchronize" line in the menu.json file with:
Code:
{"name": "[ Synchronize ]", "priority": 1, "action": "lipc-set-prop com.lab126.cmd wirelessEnable 1 && sleep 7 && /mnt/us/python/bin/python2.7 /mnt/us/extensions/dropbox/bin/dbcli.py && lipc-set-prop com.lab126.cmd wirelessEnable 0"},
Its a little unsophisticated, but it works.
If trap000d some day would want to work on a better implementation, I'd not be opposed to that.
Also thank you @knc1 for pointing me in the right direction.