30.12.2018, 23:19
try version 1.3.6p.
this is my method:
i will change to this:
this is my method:
Code:
def is_osmc():
result = os.popen('uname -n').read().lower()
if 'osmc' in result:
return True
if 'bmwraspcontrol' in result:
return True
else:
return False
i will change to this:
Code:
def is_osmc():
result = os.popen('uname -n').read().lower()
if 'osmc' in result:
return True
if 'bmwraspcontrol' in result:
return True
result = os.popen('uname -a').read().lower()
if 'osmc' in result:
return True
return False