2015-10-14, 15:52
Hi All,
I've been searching around the web for some time now but with no luck yet.
I'm making a specific skin for 7" in car use.
Skin is used on raspberry pi with canbus module. This canbus module is able to read the speed of the car.
I'm planning to print this speed somewhere next to Kodi's time or weather controls, but haven't figured out yet how to interface a Python var to a Kodi label / item.
Does anyone know if it is somehow possible to us some kind of: <label>$INFO[pythonvar]</label>.
It does not mather if I have to specify the control / label, or maybe use an string ID which could be overwritten...
Though it needs to be able to refresh often < 0,5 sec)
(I've tried the xbmcgui tutorial with the controllabel / addlabel options but this creates a complete black -new- window.)
Thanks in advance!
Jeroen
I've been searching around the web for some time now but with no luck yet.
I'm making a specific skin for 7" in car use.
Skin is used on raspberry pi with canbus module. This canbus module is able to read the speed of the car.
I'm planning to print this speed somewhere next to Kodi's time or weather controls, but haven't figured out yet how to interface a Python var to a Kodi label / item.
Does anyone know if it is somehow possible to us some kind of: <label>$INFO[pythonvar]</label>.
It does not mather if I have to specify the control / label, or maybe use an string ID which could be overwritten...
Though it needs to be able to refresh often < 0,5 sec)
(I've tried the xbmcgui tutorial with the controllabel / addlabel options but this creates a complete black -new- window.)
Thanks in advance!
Jeroen