Install python script (windows)
#16
Code:
NOTICE: Traceback (most recent call last):
NOTICE:   File "C:\Program Files (x86)\XBMC\addons\script.ljus\default.py", line 31, in onPlayBackResumed
NOTICE: os.execv("c:\dimtest.exe")
NOTICE: TypeError
NOTICE: :
NOTICE: execv() takes exactly 2 arguments (1 given)

There seems to be your problem.
Image
Reply
#17
From your log the script stops with:

Code:
INFO: Stopping script with id: 1
NOTICE: Traceback (most recent call last):
NOTICE:   File "C:\Program Files (x86)\XBMC\addons\script.ljus\default.py", line 31, in onPlayBackResumed
NOTICE: os.execv("c:\dimtest.exe")
NOTICE: TypeError
NOTICE: :
NOTICE: execv() takes exactly 2 arguments (1 given)

I'm not much help here but, maybe you changed something with the onPlayBackResumed function unintentionally.
Reply
#18
Code:
os.execv("c:\dimtest.exe",())


should do the trick
Reply
#19
Tried that now, but nothing is still happening. Not when I start a movie, or run the program manually when a movie is running.

New log:
http://www.mediafire.com/?g4e2lvaojhkc959

Thanks all of you who is helping me Smile
Reply
#20
From your log, when you where shutting down:

Code:
20:48:25 T:6808 M:3035512832  NOTICE: stop python
20:48:26 T:6460 M:3035717632    INFO: Scriptresult: Interrupted by user
20:48:26 T:6460 M:3035717632    INFO: Python script interrupted by user

Looks like it was running.

If you want your script to run at startup you have to set it up in advancesettings.xml . Search the fourm for that.
Reply

Logout Mark Read Team Forum Stats Members Help
Install python script (windows)0