[RELEASE] Execute user scripts on specific XBMC actions (play starts/stops...)
(2014-04-04, 17:09)flarc Wrote: Hello KenV99.

"Are you running from the Program Files directory using 'run as admin' or are you running from a different read/write directory?"

I am running from the program files, yes.

Hello KenV99.

I hardcoded the script command line into the the default.py, and now of course it works.

ex.:
Code:
[...]
def onPlayBackPaused(self):
    log('player pauses')
    global script_player_pauses
    script_player_pauses = 'wscript C:\\sarah\\plugins\\fred\\bin\\huelight_high.vbs'
    if script_player_pauses:
      log('Going to execute script = "' + script_player_pauses + '"')
[...]

As my config will be stable for a long time, i will stick with this unclean way to make it work.
Thx anyway for your support.
And thx to both Pilluli and you for the trick to make my command line work with space inside.
Reply


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