SABNZBd Monitor

Forum over Homeseer scripts (DUTCH forum)

Moderators: TANE, Ruud

Post Reply
glabbeek
Member
Member
Posts: 93
Joined: Wed Feb 13, 2008 9:16 pm
Location: Netherlands

SABNZBd Monitor

Post 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
Alexander
Global Moderator
Global Moderator
Posts: 1532
Joined: Sat Mar 10, 2007 11:19 pm
Location: Netherlands

SABNZBd Monitor

Post by Alexander »

NICE!!!

Alexander
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

SABNZBd Monitor

Post 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">
jakkes
Member
Member
Posts: 167
Joined: Sat Oct 10, 2009 2:09 pm
Location: Netherlands

SABNZBd Monitor

Post 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?
Post Reply

Return to “Homeseer Scripts Forum”