2015-05-12, 15:31
Hi All,
I am trying to write a script that will launch a screensaver that will launch a specific screensaver addon. This is NOT the one that is the current default selection.
I have tried several things (Using unaryclock as an example):
None of this works, I even wondered about dynamically changing the Screensaver that is currently selected, but there is no way to do that from what I can see (Without hacking settings files, that I really can not do).
There was one work-around, and that was to make the screensavers also an executable script (in the addon.xml) - but that requires a change to the original screensaver (Again something I can't do).
So I was hoping that some-one might be able to assist with a sensible way of launching the non-default screensaver. (Or changing the default screensaver on the fly)
Thanks
Rob
I am trying to write a script that will launch a screensaver that will launch a specific screensaver addon. This is NOT the one that is the current default selection.
I have tried several things (Using unaryclock as an example):
Code:
xbmc.executebuiltin("RunAddon(screensaver.unaryclock)")
Code:
xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": { "addonid": "screensaver.unaryclock" }, "id": 1}')
Code:
xbmc.executebuiltin("RunScript(C:\\XBMC\\Kodi-14\\portable_data\\addons\\screensaver.unaryclock\\default.py)", True)
None of this works, I even wondered about dynamically changing the Screensaver that is currently selected, but there is no way to do that from what I can see (Without hacking settings files, that I really can not do).
There was one work-around, and that was to make the screensavers also an executable script (in the addon.xml) - but that requires a change to the original screensaver (Again something I can't do).
So I was hoping that some-one might be able to assist with a sensible way of launching the non-default screensaver. (Or changing the default screensaver on the fly)
Thanks
Rob