Hi,
I've added "smart" wireless handling to the script:
at start it's checking connection availability then switching wifi on if needed. At the end it restores initial state of connection. Pushed new version to master (download link is the same as before:
https://github.com/trap000d/dropbox-...ive/master.zip ). Please test it and let me know if you find any problems. If all OK, I'll tag it as v0.1.3
P.S. TODO (next 2-3 weeks, depending on free time).
I'm to add 'replace-incorrect-characters-in-file-name' feature. It should effectively resolve all problems with non-Unicode symbols (like German umlauts, or other characters not supported by FAT, e.g. ':' '#' '?' e.t.c.) in file names.
Regards,
Quote:
Originally Posted by notimp
The github script above currently doesnt work. The issue is that after you switch Wifi on - it takes a few seconds until the Kindle connects to your network, and gets online - the script at that stage already is in the "connecting" stage - ("connecting" gets displayed) and seemingly not reinitializing the connection attempt, but just sitting idle/timing out.
Thats why I had the sleep 7 (sleep 6 should suffice as well  ) delay in my "attempt" - but pinging until you get an answer would be a more elegant solution (maybe even shave off a second.  ).
Cheers,
n.
|