Screensaver Launcher Script Development
#1
Hi guys,

I recently built a new HTPC for my television, and the only thing missing is a proper screensaver. As corny as it is, I'd like to use one of the fish tank SS's or a fireplace...something like that.

I'm reading about script development, and it seems to me that it shouldn't be too hard to create an addon that launches with XBMC, and monitors the GUI params or playing parameter. Once it determines that the system is not playing or the GUI moving, it initiates it's own timer, and once reaches X, just runs a system.exec command to the FOO.scr file, or exe, or whatever, then stops the timer. Input resets everything.

So, I know what I want to do. I have a rough idea of how to do it. However, I'm hoping that I can save myself a bit of digging through documentation, maybe get a rough idea of what I'd need to do to implement this. I've seen the python scripting doc, functions, etc. What I'm unfamiliar with is how to install and configure it to launch, as well as the most efficient way to monitor the system without hurting performance.

And...yeah. That's it. Any pointers, suggestions, snippets of code, whatever are greatly appreciated. Else I'll update here when I've got something going...
Reply
#2
@digitalhigh:

I'm trying to do the same thing. Smile Best starting point IMHO is dersphere's pull request.:
https://github.com/xbmc/xbmc/pull/1072

He includes a python script which is basically a minimal framework for an python based xbmc screensaver.
To make it work you'll have to install one of the latest nightly builds:
http://mirrors.xbmc.org/nightlies/win32/

The content of derspere's zip has to be extracted to your xbmc user data addon folder.
In the addon.xml the extension point has to be "xbmc.ui.screensaver" instead of "xbmc.python.screensaver".

regards

SlrG
Reply
#3
Hi,

Like SlrG already mentioned it is possible in Frodo to create python based screensavers - so no need for checking if the GUI is in use or something similar Wink

Have a look to Garbear's unqlocked screensaver which will be available in Frodo.
My GitHub. My Add-ons:
Image
Reply
#4
Heads up, my screensaver only works with one of the alphas (maybe alpha5). I'll update it in the next few weeks before the final frodo release.
Reply
#5
@digitalhigh:
Have a look here:
http://forum.xbmc.org/showthread.php?tid=143494
Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Screensaver Launcher Script Development0