post-processing scripts.. a few questions
Posted: May 4th, 2013, 6:29 am
Hey there, I have a few questions about post processing scripts. Some of these I may be able to answer with my own research (which I'm doing now) but a cursory search hasn't shown up any results. If you can point me in the right direction on any of this, I'd much appreciate it.
edit: have marked the answers I found.. see I am at least trying!
- Based on the post-processing page in the wiki, I'm assuming that any script will work so long as it's executable by the sabnzbd user. On a linux system that means python will work, so long as you have the hash-bang. What about windows? Does installing sab mean you have the ability to execute arbitrary python files?
- Another way to ask the same question above. If I want to make a script that is fairly portable, what is the best language to use? Or is the answer to use batch files and bash scripts?
- I'm looking to find a way to check what server articles were missing from with the post-processing script. I can see I would be able to parse the log file to find some of this. Is there a more efficient way to get this information than from the post-processing script?
- To work with the files that were actually downloaded, rather than the extracted result, how do I find the download folder?
- I assume scripts are executed in the script directory right?
- Is there any way to access configured sab options
- http://wiki.sabnzbd.org/configure-switches seems to indicate I can change the default post-processing (repair, +extract, +delete) for jobs. But I can't see that in my switches on 0.7.x. Has that option been deprecated?
edit: have marked the answers I found.. see I am at least trying!