2016-03-20, 22:44
I did some debug on my raspberry. Seems that the process = subprocess.Popen(callstr, startupinfo=info, shell=True) return 1 if I replace it by process = subprocess.check_call(callstr, startupinfo=info, shell=True). So more than likely a problem with the launch of the chromium.sh script. I have added some echo in the script but didn't see anything so I guess that's the call itself that cause a problem.
Code:
callstr= u'sh /home/osmc/.kodi/addons/plugin.video.flix2kodi/resources/scripts/launcher/linux/chromium.sh http://netflix.com/watch/80079265'