Python command to retrieve the "Running on" information
#11
(2017-08-11, 23:31)ronie Wrote: don't know why, but apparently it takes a bit of time for kodi to retrieve this info.
adding a bit of sleep should give a proper result.

Code:
xbmc.getInfoLabel('System.OSVersionInfo')
xbmc.sleep(100)
label = xbmc.getInfoLabel('System.OSVersionInfo')
xbmc.log( "[%s] - %s" % ( addonName, label ) )

That solved the issue! Thanks a lot!
Light IMDb Ratings Update - Keep updated the IMDb ratings for your movies and TV shows.
In case you found useful my work, feel free to offer me a cappuccino!
Reply


Messages In This Thread
RE: Python command to retrieve the "Running on" information - by axlt2002 - 2017-08-13, 16:45
Logout Mark Read Team Forum Stats Members Help
Python command to retrieve the "Running on" information0