SABnzbd mIRC Stats v0.1 (PHP required!)

Got a program that plays well with SABnzbd? Share it here!
Post Reply
Nakebod
Newbie
Newbie
Posts: 1
Joined: May 4th, 2009, 6:17 am

SABnzbd mIRC Stats v0.1 (PHP required!)

Post by Nakebod » May 4th, 2009, 7:20 am

Hi there,

Since there wasn't an addon to show SABnzbd stats in mIRC, I decided to build something my own.

SABnzbd mIRC Stats v0.1
It is a basic script which does what it has to do. It isn't perfect, but it works. My main purpose was to build it for myself, and share it to everyone who wants it.
The mIRC script is based on the WhatPulse mIRC Script 2.
I couldn't find a proper way to let mIRC handle SABnzb's XML output (Every job had the same field names). Therefor you need one extra step in the form of a PHP script.
This PHP script is also included. The PHP script opens the API, requests the XML file, and then rewrites the XML file. You can use XAMPP for this if you don't have a web server with PHP support.

Script usage
More detailed explanation in the readme.txt.
Read it first, since you need to adjust a few values first.

In mIRC, type /load -rs /path/to/sabnzbd.mrc
Run the initialization commands, it will fetch the XML file.
Manual commands are: /sabnzbd_update and /sabnzbd_show.

You can also use the menu: SABnzbd Stats
-Update
  This fetches the new XML file manually
-Show in ...
  Show the stats into the current channel/query
-Configure
  Configure the number of lines/items (0-10)
  0: Only general stats
  1-10: General stats + x items
  Default value: 3 items

Image

Updates/Support
I'm not an experienced scripter, I needed a lot of help with the PHP script and with the mIRC script itself :) Thanks again Rico and KompjoeFriek!
Since the basics are working fine for me, I'm not planning any future releases.

The community however, is free to improve the script on one condition: Post your changes back to this topic, so everybody can use the improvements!
Of course this is something which can't be checked, but please, share your changes.

Download
Download the file from one of the following sites:
Mirror 1 | Mirror 2 | Mirror 3 | Mirror 4

Enjoy!

dalhoff
Newbie
Newbie
Posts: 12
Joined: January 28th, 2012, 8:19 pm
Location: DK
Contact:

Re: SABnzbd mIRC Stats v0.1 (PHP required!)

Post by dalhoff » March 11th, 2012, 3:41 pm

is it possible to get this uploaded again

scrilla
Newbie
Newbie
Posts: 2
Joined: July 2nd, 2015, 3:05 pm

Re: SABnzbd mIRC Stats v0.1 (PHP required!)

Post by scrilla » July 2nd, 2015, 3:14 pm

please reupload

Post Reply