Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all articles
Browse latest Browse all 1562

How to force KoboCloud to sync followed by AutoShelf

$
0
0
I'm using KoboCloud to sync with Google Drive and AutoShelf to organize the content. It works to manually tap on the sync icon, wait a while, and then connect/disconnect USB to trigger AutoShelf, but I'd like to have a single action from NickelMenu to cause all this to happen. I currently have the following:

Code:

menu_item :main    :Cloud Rebuild      :cmd_spawn          :/usr/local/kobocloud/get.sh
  chain_success    :cmd_spawn          :/usr/local/AutoShelf/autoshelf.sh

But this does not appear to work. One thing I've noticed is the two commands run in immediate succession, rather than the second waiting for the first to finish ("succeed"). But even apart from the lack of sequential delay, it doesn't seem like either of these commands actually causes the right actions to occur.

Can anyone suggest how to accomplish this?

Viewing all articles
Browse latest Browse all 1562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>