SABNZBd+
This script monitors the NZBSABd+ progress through a XML file that can be fetched from SABNZBd+.
What is SABnzbd?
SABnzbd is a free/open-source cross-platform binary newsreader written in Python.
It simplifies the process of downloading from Usenet dramatically, thanks to its friendly web-based user interface and advanced built-in post-processing options that automatically verify, repair, extract and clean up posts downloaded from Usenet. SABnzbd also has a fully customizable user interface, and offers a complete API for third-party applications to hook into.
To install, save the 2 scripts (Sabnzbd.vbs and Sabnzbd_state.vbs) to the Homeseer script folder.
Then change , in both scripts, the personal settings for your setup.
Sabnzbd.vbs:
hc="q" 'housecode for device to be made by script
start_dc="1" 'lowest devicecode, so if you want to start with "q1" this should be 1
ip="10.0.0.152:8081" 'IP address + port number SABNZBD (can also be localhost)
apikey="550b956bf290d91ccb033382b3337acd" 'apikey can be found in config/general of SABNZBD
Slots=5 'Number of downloads slots that are to be monitored
buttons=1 'Create a control button to pause and resume downloading (1=yes 0= no)
Sabnzbd_state.vbs:
ip="10.0.0.152" 'IP address SABNZBD+ (can also be localhost)
port="8081" 'Port number
apikey="550b956bf290d91ccb033382b3337acd" 'apikey can be found in config/general of SABNZBD
Now create a recurring event that run the Sabnzbd.vbs script every 5 minutes (or whatever interval you like)
The Sabnzbd_state.vbs is used by the pause and resume buttons to change the modus. Don’t use this script as an recurring event!
http://www.sabnzbd.org/
http://sabnzbd.wikidot.com/
Regards,
This script monitors the NZBSABd+ progress through a XML file that can be fetched from SABNZBd+.
What is SABnzbd?
SABnzbd is a free/open-source cross-platform binary newsreader written in Python.
It simplifies the process of downloading from Usenet dramatically, thanks to its friendly web-based user interface and advanced built-in post-processing options that automatically verify, repair, extract and clean up posts downloaded from Usenet. SABnzbd also has a fully customizable user interface, and offers a complete API for third-party applications to hook into.
To install, save the 2 scripts (Sabnzbd.vbs and Sabnzbd_state.vbs) to the Homeseer script folder.
Then change , in both scripts, the personal settings for your setup.
Sabnzbd.vbs:
hc="q" 'housecode for device to be made by script
start_dc="1" 'lowest devicecode, so if you want to start with "q1" this should be 1
ip="10.0.0.152:8081" 'IP address + port number SABNZBD (can also be localhost)
apikey="550b956bf290d91ccb033382b3337acd" 'apikey can be found in config/general of SABNZBD
Slots=5 'Number of downloads slots that are to be monitored
buttons=1 'Create a control button to pause and resume downloading (1=yes 0= no)
Sabnzbd_state.vbs:
ip="10.0.0.152" 'IP address SABNZBD+ (can also be localhost)
port="8081" 'Port number
apikey="550b956bf290d91ccb033382b3337acd" 'apikey can be found in config/general of SABNZBD
Now create a recurring event that run the Sabnzbd.vbs script every 5 minutes (or whatever interval you like)
The Sabnzbd_state.vbs is used by the pause and resume buttons to change the modus. Don’t use this script as an recurring event!
http://www.sabnzbd.org/
http://sabnzbd.wikidot.com/
Regards,