How to make SPMC wait for network before starting
If you use network storage for your videos and video-database then you can enable an option to make SPMC wait until the network connection is ready before starting. This prevents situations where your movies are not available in SPMC because it launched before it could connect to the network storage.
To enable it create a file called “xbmc_env.properties” with the following contents:
xbmc.waitnetwork=yes
Then place this file in the root of your SHIELD storage:
The next time SPMC starts it will now wait until the network is ready.