"On Finish" not running script
Posted: April 21st, 2010, 2:22 pm
Hello,
If this has been answered before, please point me in the right direction.
I'm attempting to run a script on queue finish, and it doesn't seem to want to do it. I know the "On Finish" thing works, because when I set it to Shutdown SABnzbd, it worked fine.
The script I'm trying to run is this:
updatelibrary.bat:
echo %date% %time% >> c:\test.txt
C:\python26\python.exe "C:\Program Files\SABnzbd\Post-Processing\RescanXBMC.py"
RescanXBMC.py:
import urllib
urllib.urlopen("http://xbmc:xbmc@127.0.0.1/xbmcCmds/xbm ... o)").close()
Before anyone asks, I have verified these scripts do what they are supposed to do when ran manually (double click them or from cmd.exe).
In SAB, I choose "On Finish" and select the updatelibrary.bat file. I then download something and watch XBMC to see if it updates and I don't see anything.
Am I missing something here? Are only certain types of files allowed for this "On Finish" option?
Any help would be appreciated.
Thanks!
If this has been answered before, please point me in the right direction.
I'm attempting to run a script on queue finish, and it doesn't seem to want to do it. I know the "On Finish" thing works, because when I set it to Shutdown SABnzbd, it worked fine.
The script I'm trying to run is this:
updatelibrary.bat:
echo %date% %time% >> c:\test.txt
C:\python26\python.exe "C:\Program Files\SABnzbd\Post-Processing\RescanXBMC.py"
RescanXBMC.py:
import urllib
urllib.urlopen("http://xbmc:xbmc@127.0.0.1/xbmcCmds/xbm ... o)").close()
Before anyone asks, I have verified these scripts do what they are supposed to do when ran manually (double click them or from cmd.exe).
In SAB, I choose "On Finish" and select the updatelibrary.bat file. I then download something and watch XBMC to see if it updates and I don't see anything.
Am I missing something here? Are only certain types of files allowed for this "On Finish" option?
Any help would be appreciated.
Thanks!