Comment 7 for bug 435422

Revision history for this message
Severin H (severinh) wrote :

I should have spend more time investigating the issue.

SABnzbd actually provides a feature that allows one to execute a certain action when SABnzd finishes downloading the whole queue. One of the predefined actions is "shutdown_pc". This action can even be specified through the API (have a look at 'ChangeCompleteActionQuery' in LottaNZB's code).

The problem is that it won't work on Linux as the system_* functions in sabnzbd/__init__.py have not been implemented for Linux, but only Windows ans Mac OS X (Darwin?). I guess one would need to get in touch with the SABnzbd devs so that the Linux-specific code can be written before 0.5 is released.