2010-12-21, 02:05
Motivation: I want the tv turned off when screen saver turns on, and the tv turned on when the screen saver turns off.
Possible Solution #1
-------------------
Now I have two actions setup in Eventghost which can turn the tv on and off. I want two events to pair with them. I want some way to receive screensaver turned on and screen saver turned off.
Now I have no clue if XBMC broadcasts those events in anyway and if there is a way to receive them in eventghost via an eventghost plugin.
Possible Solution #2
-------------------
I though now with the addon system, screensaver code must be an addon, especially for the slideshow screensaver, but the corresponding folder does not have python file. Only an xml. So where is the screen saver code? I was hoping I could add python commands to that script to turn on and off my tv using pyserial and sending commands over rs232.
I don't want to make changes in xbmc code and compile.
Is there some way to do this? Can somebody shed some light? Especially on event broadcasts from XBMC and how to maybe capture them in Eventghost.
Thanks
Possible Solution #1
-------------------
Now I have two actions setup in Eventghost which can turn the tv on and off. I want two events to pair with them. I want some way to receive screensaver turned on and screen saver turned off.
Now I have no clue if XBMC broadcasts those events in anyway and if there is a way to receive them in eventghost via an eventghost plugin.
Possible Solution #2
-------------------
I though now with the addon system, screensaver code must be an addon, especially for the slideshow screensaver, but the corresponding folder does not have python file. Only an xml. So where is the screen saver code? I was hoping I could add python commands to that script to turn on and off my tv using pyserial and sending commands over rs232.
I don't want to make changes in xbmc code and compile.
Is there some way to do this? Can somebody shed some light? Especially on event broadcasts from XBMC and how to maybe capture them in Eventghost.
Thanks