[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
(2014-10-02, 15:18)schumi2004 Wrote: Pretty neat addon.
I don't think it's possible to let this addon change other addon settings can it?

I'm not quite sure what you mean... In general, since python scripts running from this addon are executed in the XBMC namespace, yes, you could using .setSetting: http://mirrors.xbmc.org/docs/python-docs...setSetting

(2014-10-04, 12:33)Ferdi-T Wrote: Hmm, something went wrong yesterday when XBMC crashed halfway through The Hobbit. Now playing a file doesn't generate a txt-file anymore, which means that stopping the video doesn't trigger anything at all. :-(

Any thoughts?

Post a log to xbmclogs.com and post back here.

(2014-10-04, 18:15)tehKNi Wrote: Hello,

Actually i can't trigger anything right now as well, but it's my first try :

18:11:06 T:2923959376 NOTICE: $$$ xbmc.callbacks2 - Starting tester.py from cwd: /storage/.xbmc/addons/service.xbmc.callbacks2-allincluded
18:11:08 T:2923959376 NOTICE: $$$ [xbmc.callbacks2] - Executing command: u'/storage/hyperion/stop.sh' (wiki) for event: onPlaybackStarted
18:11:08 T:2923959376 NOTICE: $$$ [xbmc.callbacks2] - Command for onPlaybackStarted resulted in ERROR: /bin/sh: /storage/hyperion/stop.sh: not found

can't understand that though, as i can launch it manually with no problem :

OpenELEC:~/hyperion # /bin/sh /storage/hyperion/stop.sh
killall: hyperiond: no process killed

Weird?
Smile
Are you checking off 'requires shell' in the options and only including '/storage/hyperion/stop.sh' as script that you are executing?
Reply


Messages In This Thread
Great! - by gnorf - 2013-02-27, 22:50
[RELEASE] Pilulli Revisited - by KenV99 - 2014-06-28, 18:18
RE: [RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...) - by KenV99 - 2014-10-04, 19:30
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)4