SABnzbd+ G15 display ;)

Got a program that plays well with SABnzbd? Share it here!
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

SABnzbd+ G15 display ;)

Post by 4wd »

Something to tempt those of you with a Logitech G15 keyboard, (and maybe cause the others to rush out and buy one :) )

An addon module for the LCDMisc applet for the G15.

Supports Pause/Resume and Shutdown of SABnzbd+ via the normal keyboard media keys, (Pause/Play, Stop).

The screen displays the following info:

Code: Select all

SABnzbdView v0.1.9

         TIME
 ---------------------| Queue filename 0
IP:192.168.0.126      | Rem MB        ETA
SPD:26.65K       [DLS]| Queue filename 1
REM:199.3/199.5 GB    | Rem MB        ETA
SPC:25.00 GB     [WRN]| Queue filename 2
                      | Rem MB        ETA
If the Download directory is the same as the Completed directory, otherwise you'll get two lines marked COMP and DNLD replacing the line marked SPC.

SPD: = Download speed in KB/s
DLS: = Number of jobs in the queue
SPC: = Space available in GB if Download dir = Completed dir
TOT: = Total queue size in GB
REM: = Remaining queue to download in GB
WRN: = No of Warnings on Connections page
SPC: = Space available in combined Completed/Download dir
COMP: = Space available in Completed dir
DNLD: = Space available in Download dir
PAUSE! = Shows whether SABnzbd+ is paused or not, it will update immediately if you've paused via the Pause/Play key.

The lines on the right show the first three jobs in the queue, (truncated to 19 characters), the remaining amount to download in MB and the ETA of completion.

Versions 0.4.4.1 and above of LCDMisc include SABnzbdView 0.1.7.
Get it here: LCDMisc 0.4.4.1

READ the included LCDMisc Script.c and/or LCDMisc.ini - it has parameters of the SABnzbdView module, (depending which way you run the addon).

NOTE: Version 0.1.3 & 0.1.5 only support 123.234.12.39
- Fixed a bug regarding apikey :/
- Now supports SABnzbd+ 0.4.9 and lower/higher.
- Layout is as per 0.1.5 screenshot below.
- Now uses JSON data which speeds up queue parsing.
- Added number of warnings next to SPC, (or COMP).

4wd
Last edited by 4wd on February 12th, 2010, 7:54 pm, edited 1 time in total.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: SABnzbd+ G15 display ;)

Post by switch »

Sick! I may have to pick myself up a new keyboard :D
fn9mm
Newbie
Newbie
Posts: 2
Joined: January 30th, 2008, 2:49 am

Re: SABnzbd+ G15 display ;)

Post by fn9mm »

nice !!
is this for G15 (blue display) of G15 Rev01 (red display)
or both ? ???
tia
astrojams
Release Testers
Release Testers
Posts: 11
Joined: March 26th, 2008, 2:07 pm

Re: SABnzbd+ G15 display ;)

Post by astrojams »

I've love to test this out.  Please provide us with a link to download it.  Also, does it work remotely?  I don't run sabnzbd on my local host.
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: SABnzbd+ G15 display ;)

Post by 4wd »

fn9mm wrote: nice !!
is this for G15 (blue display) of G15 Rev01 (red display)
or both ? ???
tia
Both, they're interchangeable.  The only difference between the two are the number of G-keys, (which I don't use), and the volume control, (which I also don't use).

I've got the G15 v2, (orange/red).
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: SABnzbd+ G15 display ;)

Post by 4wd »

astrojams wrote: I've love to test this out.  Please provide us with a link to download it.
If you're not already running LCDMisc, then I suggest you download and get it running correctly first: http://www.g15forums.com/forum/showthread.php?t=3957
Also, does it work remotely?  I don't run sabnzbd on my local host.
Yes, works remotely.  I currently view my queue, (dedicated headless SABnzbd+ machine on the local LAN), and my mates queue, (60km away).

All you have to do is feed it an IP, (IPv4 only).

Note that the initial updating is dependent on how fast it can get the XML output.  So things like size of queue, network speed will play a big factor.

eg. LAN IP takes less than 2 seconds, from my mate takes up to 20-30 seconds, (I only have 256/64).

Updating is set at 30 seconds but can be easily changed, (I wouldn't recommend any less).  Also, the response between you pausing/resuming via the keys and the feedback from the remote server is dependent on the speed of the sent command and the next XML update - LAN is almost immediate.

You can monitor more than one SABnzbd+ queue, you just add more lines to the ini file and switch between them using the four LCD buttons, ala normal LCDMisc mode of operation.  IP is reported at the top of screen instead of time/date.

Also note that if your SABnzbd+ server is protected by a username/password it won't work, (although I see no reason why SABnzbd+ should require a username/password for XML and JSON output - this would be a privacy preference only since no control can be done and would still allow this and third party monitoring programs to easily work).

Edited: No longer requires test build of LCDMisc and is included in normal LCDMisc distro.
Last edited by 4wd on April 18th, 2009, 6:01 am, edited 1 time in total.
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: SABnzbd+ G15 display ;)

Post by 4wd »

pair of dimes wrote: Haha I love stuff like this, thanks for posting!!

Do you need hosting or anything? Would you want an official page to have this hosted on? Just let us know.
At the moment the archive is ~160kB and that's only because of the need to include an updated LCDMisc.exe - it's under 4kB without it.

An official page is probably going overboard a bit :)

At the moment I've just uploaded to my webspace and added a link to it in the first post - which is probably the easiest way for me to keep it updated.

Thanks for the offer.
Last edited by 4wd on March 27th, 2008, 2:11 am, edited 1 time in total.
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: SABnzbd+ G15 display ;)

Post by 4wd »

Bumped to let people know there's an updated version of LCDMisc which includes an updated version of SABnzbdView

Enjoy

4wd
Coeluh
Jr. Member
Jr. Member
Posts: 79
Joined: May 22nd, 2008, 1:40 pm

Re: SABnzbd+ G15 display ;)

Post by Coeluh »

Can someone compile it to an exe?
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: SABnzbd+ G15 display ;)

Post by 4wd »

Coeluh wrote: Can someone compile it to an exe?
It's a script - you can't compile it.

It requires LCDMisc to work, as per original post: An addon module for the LCDMisc applet for the G15.
User avatar
dbb
Newbie
Newbie
Posts: 7
Joined: August 26th, 2008, 4:29 am
Location: USA

Re: SABnzbd+ G15 display ;)

Post by dbb »

Nice, I've been using LCDMisc for a long time.
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: SABnzbd+ G15 display ;)

Post by 4wd »

dbb wrote: Nice, I've been using LCDMisc for a long time.
Thanks!

I've been meaning to update it to use the JSON data but it's just one of those things I haven't got around to  :-\
kevin.mccarthy
Newbie
Newbie
Posts: 1
Joined: September 5th, 2008, 9:45 pm

Re: SABnzbd+ G15 display ;)

Post by kevin.mccarthy »

Anyone know of anything similar for Linux?  Perhaps a plugin app for g15tools (http://g15tools.com/)
4wd
Newbie
Newbie
Posts: 14
Joined: February 2nd, 2008, 7:34 pm

Re: SABnzbd+ G15 display ;)

Post by 4wd »

Just to let anyone who uses this know that it now supports 0.4.9

Cheers.
Crusy
Newbie
Newbie
Posts: 1
Joined: December 27th, 2008, 8:43 am

Re: SABnzbd+ G15 display ;)

Post by Crusy »

website down. any chance to download it again?
Regards
Post Reply