2014-02-10, 22:12
(2014-02-10, 19:11)bry- Wrote:(2014-01-16, 19:42)teeedubb Wrote: Sorry man, my script will be of no use then.
@teeedubb - you have info on the script. I have a buddy with OE that would like to try and use it.
is it possible to only have the lights on when media is playing?
To turn boblight off and on via remote?
Try this:
toggle_boblight_service.py (place in preferred folder)
Code:
import xbmc
cmd = '{"jsonrpc": "2.0", "method": "Addons.SetAddonEnabled", '
cmd += '"params": { "addonid": "script.xbmc.boblight", "enabled": "toggle" }, "id": 1}'
Keymap entry:
Code:
<hash>RunScript(special://profile/scripts/toggle_boblight_service.py)</hash>