Page 1 of 1

SABNZBd Monitor

Posted: Tue Sep 22, 2009 9:06 am
by glabbeek
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. Dont use this script as an recurring event!

http://www.sabnzbd.org/
http://sabnzbd.wikidot.com/

Regards,
Willem-Bram

Edit: version 1.01

Supports longer integers



<b>Download Attachment:</b> [img]images/icon_paperclip.gif[/img] Sabnzbd+.zip<br />9.84 KB

SABNZBd Monitor

Posted: Tue Sep 22, 2009 9:54 am
by Alexander
NICE!!!

Alexander

SABNZBd Monitor

Posted: Tue Sep 22, 2009 10:31 am
by TANE
@Willem-Bram
good work..:)
I will installed to schedule my download's for in the night and for the status on the touch screen.


<hr noshade size="1"><font size="1">Enver
http://twitter.com/Chak64%20My%20Domoti ... dware.html<i> My Domotica Hardware Software</i></font id="size1">

SABNZBd Monitor

Posted: Mon Oct 12, 2009 7:34 pm
by jakkes
I tried to download the script...., but it gives an error...

edit:
Is downloadeble on:
http://board.homeseer.com/showthread.php?p=887460

I installed confirm the notes, but in get error's in the log:
12-10-2009 20:15:25 Error Running script, script run or compile error in file: Sabnzbd.vbs424:Object vereist: 'node_paused' in line 114 More info: Object vereist: 'node_paused'

My scripting skills are not that good.... (not at all available....) Could someone help?