2015-09-11, 20:00
Hi guys,
I'm new on kodi add-on development, so i don't complete understand the system behind kodi!
My question is: I can change a control (ie: an image control) from a python script in the home page?
I have a skin for a carpc project and i would change an image control that display the amount of battery charge (with the serial port that communicate with an arduino board). If the battery is at x percentage the image is xxx, else the image is yyy. This image (that i've created and insert on the skin) is at the top of home page near the clock.
How i can change the control with python?
I've tried to wrote many codes but without successfull
Thanks guys!
I'm new on kodi add-on development, so i don't complete understand the system behind kodi!
My question is: I can change a control (ie: an image control) from a python script in the home page?
I have a skin for a carpc project and i would change an image control that display the amount of battery charge (with the serial port that communicate with an arduino board). If the battery is at x percentage the image is xxx, else the image is yyy. This image (that i've created and insert on the skin) is at the top of home page near the clock.
How i can change the control with python?
I've tried to wrote many codes but without successfull
Thanks guys!