xbmc/xbmc — pull request #1072 by dersphere (2012-06-15 16:28:37+00:00)
Title: Python based screensavers

Please don't see this as complete pull request - at the moment it is more a proof-of-concept.

These changes should do the following:
- add "xbmc.python.screensaver" extension point for addons
- show the new kind of screensaver addon in the screensaver select dialog in settings (in addition to the binary ones)
- run the addon on CApplication::ActivateScreenSaver()
- pass on CApplication::WakeUpScreenSaver()

the screensaver addon should exit itself via waiting for the onScreensaverDeactivated-announcement

I created a simple python addon for demonstrating, you can get it from here:
https://github.com/downloads/dersphere/script.screensaver.test/script.screensaver.test-0.0.1.zip
source is here: https://github.com/dersphere/script.screensaver.test

It works already, means, you can add this addon, set it as screensaver and it gets started and exits like a normal screensaver.

Of course there would still some things to do:
ex. combine both types of screensaver-addons in AddonsDirectory

But I'm more interested in your opinions about the general idea of having python based screensavers and if its worth more work.

regards,
sphere