Displaying stats in Mirc
Displaying stats in Mirc
Does anyone happen to know a way to display Sabnzbd stats in Mirc, I know it officially isnt sabnzb related because an mirc script should be able to read the info from sabnzbd, but any help would be greatly appreciated
Free grammar and spelling errors for everyone!
Re: Displaying stats in Mirc
I don't have a script for you, but it should be pretty trivial to write one if your script has access to the internet. Check out this page on the wiki, and scroll down to "Brief queue status report (json or xml)". Have your script stat that URL and you'll have an XML version of your queue to play with and display bits of as you see fit.
Re: Displaying stats in Mirc
i build one for myself thats pretty basic, it currently outputs like this:
(14:38:46) (@me) I currently have 2 jobs with a total size of 369.36 MB in my downloadqueue.
(14:38:46) (@me) Downloading with 311.1 KB/sec, MB Left: 315.34 MB, Time Left: 0:17:17
(14:38:46) (@me) Current job: Bleach_191_(Eng_Subs) , MB Left: 130.56 MB
(14:38:46) (@me) I currently have 2 jobs with a total size of 369.36 MB in my downloadqueue.
(14:38:46) (@me) Downloading with 311.1 KB/sec, MB Left: 315.34 MB, Time Left: 0:17:17
(14:38:46) (@me) Current job: Bleach_191_(Eng_Subs) , MB Left: 130.56 MB
Last edited by bugmenot on October 24th, 2008, 1:49 am, edited 1 time in total.
Re: Displaying stats in Mirc
ok it's done, get it here: http://www5.zippyshare.com/v/33268876/file.html
Requirements: Mirc 6.* or greater, installed .NET Framework 2.0
Installation:
1. unpack the 3 files (sab4mirc.mrc, sab4mirc.dll and sab4mirc.ini) to your mirc dir
2. edit sab4mirc.ini to point to your hosts xml (standart = http://localhost:8080/sabnzbd/api?mode= ... output=xml)
3. fire up mirc and load the script with: /load -rs sab4mirc.mrc
If all went ok you should see this: *** Sab4Mirc by Ize initialized...
and you can now use the script
Usage:
You can rightclick in channels and use the Sabnzbs 4 Mirc menu with the following options:
*Show complete stats - generates Output like this:
(08:48:03) (@Ize) .oO SABnzbd Mircstats Oo.
(08:48:03) (@Ize) 3 job(s) with a total size of 3994.28 MB in downloadqueue.
(08:48:03) (@Ize) Speed 345.94 KB/sec, MB Left: 3223 MB, Time Left: 2:39:00
(08:48:03) (@Ize) Current job: the_name_of_what_you_download_here , MB Left: 39.51 MB, Time Left: 1min 56secs
*Show current job - generates Output like this:
(08:48:08) (@Ize) SABnzbd - Current job: the_name_of_what_you_download_here, MB Left: 37.61 MB, Time Left: 1min 51secs
*Pimp - generates Output like this:
(08:48:12) (@Ize) I'm using .·´¯`·-> SABnzbd Mircstats by Ize <-·´¯`·.
*Unload Script - unloads the script and gives feedback like this:
Sab4Mirc by Ize unloaded...
Requirements: Mirc 6.* or greater, installed .NET Framework 2.0
Installation:
1. unpack the 3 files (sab4mirc.mrc, sab4mirc.dll and sab4mirc.ini) to your mirc dir
2. edit sab4mirc.ini to point to your hosts xml (standart = http://localhost:8080/sabnzbd/api?mode= ... output=xml)
3. fire up mirc and load the script with: /load -rs sab4mirc.mrc
If all went ok you should see this: *** Sab4Mirc by Ize initialized...
and you can now use the script
Usage:
You can rightclick in channels and use the Sabnzbs 4 Mirc menu with the following options:
*Show complete stats - generates Output like this:
(08:48:03) (@Ize) .oO SABnzbd Mircstats Oo.
(08:48:03) (@Ize) 3 job(s) with a total size of 3994.28 MB in downloadqueue.
(08:48:03) (@Ize) Speed 345.94 KB/sec, MB Left: 3223 MB, Time Left: 2:39:00
(08:48:03) (@Ize) Current job: the_name_of_what_you_download_here , MB Left: 39.51 MB, Time Left: 1min 56secs
*Show current job - generates Output like this:
(08:48:08) (@Ize) SABnzbd - Current job: the_name_of_what_you_download_here, MB Left: 37.61 MB, Time Left: 1min 51secs
*Pimp - generates Output like this:
(08:48:12) (@Ize) I'm using .·´¯`·-> SABnzbd Mircstats by Ize <-·´¯`·.
*Unload Script - unloads the script and gives feedback like this:
Sab4Mirc by Ize unloaded...
Re: Displaying stats in Mirc
Looks like a nice script, have some questions :
* will this also work for sabnzbd's that are hosted on a server ?
* If sabnzbd is pw protected , does it work then ?
I get this :
*** Sab4Mirc by Ize initialized...
* No such Com 'lMC' open
* No such Com 'lMC' open
* will this also work for sabnzbd's that are hosted on a server ?
* If sabnzbd is pw protected , does it work then ?
I get this :
*** Sab4Mirc by Ize initialized...
* No such Com 'lMC' open
* No such Com 'lMC' open
Last edited by rascalli on October 27th, 2008, 12:01 pm, edited 1 time in total.
Re: Displaying stats in Mirc
hmm strange, do you have the latest .net framework installed?
and getting the info from servers works fine, just change the url in the ini file...
i haven't added explicit authentication stuff and just use .nets webclient functions... you can try using http://username:[email protected]/announce.xml
and getting the info from servers works fine, just change the url in the ini file...
i haven't added explicit authentication stuff and just use .nets webclient functions... you can try using http://username:[email protected]/announce.xml
Re: Displaying stats in Mirc
yep all needed apps are installed
Re: Displaying stats in Mirc
the only thing i can think of is that you haven't allowed your mirc to load and execute dll's
open mirc's options (alt+o) and go down all the way to other and there open the lock sub-option
on the right you'll see disabled commands, uncheck all and reload the script
open mirc's options (alt+o) and go down all the way to other and there open the lock sub-option
on the right you'll see disabled commands, uncheck all and reload the script
Re: Displaying stats in Mirc
Other scripts are loading & working
-
- Newbie
- Posts: 7
- Joined: March 1st, 2008, 10:03 am
Re: Displaying stats in Mirc
iam to is geting this error... and have done all u sad and still same.. any other tips ?
-
- Newbie
- Posts: 7
- Joined: March 1st, 2008, 10:03 am
Re: Displaying stats in Mirc
after i installed this script i get errors on other script to... i get this
* No such Com 'lMC' open (line 15, sab4mirc.mrc) <---- when trying to unload another script
* No such Com 'lMC' open <--- when trying to show stats
* No such Com 'lMC' open (line 15, sab4mirc.mrc) <---- when trying to unload another script
* No such Com 'lMC' open <--- when trying to show stats
Re: Displaying stats in Mirc
Anyone got a mirror for this? I'd like to try it but the original link no longer works.
Re: Displaying stats in Mirc
Any update on this?
I keep getting the same error, cant figure out why.
Im on vista btw.
I keep getting the same error, cant figure out why.
Im on vista btw.
Free grammar and spelling errors for everyone!
Re: Displaying stats in Mirc
*bump*kick*bump*
just realized something, is it possible that this error is caused by some part of the Developing Enviornment you used to create the DLL we lack? (looks like you made it with visual studio)
just realized something, is it possible that this error is caused by some part of the Developing Enviornment you used to create the DLL we lack? (looks like you made it with visual studio)
Last edited by FouT on February 28th, 2009, 6:39 am, edited 1 time in total.
Free grammar and spelling errors for everyone!
-
- Release Testers
- Posts: 181
- Joined: January 30th, 2009, 12:26 pm
Re: Displaying stats in Mirc
I think the script poster is longgone tbh, But I'll bump
Maybe someone else can have a crack?
Maybe someone else can have a crack?