2009-11-20, 12:39
I'm still planning (in my head) a car-interface for XBMC, and for that I was wondering if I could make the XBMC gui do something automatically as a variable changes?
If I somehow (python script?) manage to create a variable that updates every 5 seconds with my current speed (extracted from gps), could I use this variable to trigger a "scene change" in the ui?
For example, if the variable excedes 20 (km/h), XBMC pops up a simple control-screen containing only play,pause,next etc with BIG buttons. To make it safe® to use when driving... You should not be able to close this screen without slowing the car down...
The same concept could be used with a light-sensor to dim/brighten the screen depending on the light-situation...
-C-
If I somehow (python script?) manage to create a variable that updates every 5 seconds with my current speed (extracted from gps), could I use this variable to trigger a "scene change" in the ui?
For example, if the variable excedes 20 (km/h), XBMC pops up a simple control-screen containing only play,pause,next etc with BIG buttons. To make it safe® to use when driving... You should not be able to close this screen without slowing the car down...
The same concept could be used with a light-sensor to dim/brighten the screen depending on the light-situation...
-C-