thanks for your reply, xbmclive is however a stripped down ubuntu linux version.
If i execute the command in a terminal window:
- Code: Select all
$ python /mnt/xbmc-internal/downloads/py/library.py
witch is the path to my script, xbmc also updates just fine, so it seems like there is noting wrong with my actual script either, this is weird
well, eventually it will work i guess

EDIT: also if i search the sabnzbd logfile for something that would point me to either the actual script "library.py" or the path, nothing comes up, dunno if such things are supposed to be seen in the logfile tho.
also fron the wiki:
- Code: Select all
The script will receive these parameters. Use %1 in Windows scripts and $1 in Unix scripts.
Please note that in Windows the parameters will be enclosed in double quotes ("my name").
In Posix systems (OSX, Linux, Unix) the parameters will not have quotes at all.
This is somewhat unclear to me, can someone please explain.. maybe afterall there is some kind of error in my script that sab cant read.
EDIT2: I simply forgot to tell it to use python, finished code looks like this:
- Code: Select all
#!/usr/bin/python
import urllib
urllib.urlopen("http://192.168.1.4:8081/xbmcCmds/xbmcHttp?command=ExecBuiltIn(UpdateLibrary(video))").close()
EDIT3: lol, its not working now either, sab simply says:
Exit(-1) Cannot run script /home/xbmc/script/library.py
It is the right path, script is chmod'ed to 755, im all out of ideas.