Page 1 of 2

SABnzbd+ G15 display ;)

Posted: March 24th, 2008, 10:20 pm
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

Re: SABnzbd+ G15 display ;)

Posted: March 24th, 2008, 11:16 pm
by switch
Sick! I may have to pick myself up a new keyboard :D

Re: SABnzbd+ G15 display ;)

Posted: March 26th, 2008, 9:43 am
by fn9mm
nice !!
is this for G15 (blue display) of G15 Rev01 (red display)
or both ? ???
tia

Re: SABnzbd+ G15 display ;)

Posted: March 26th, 2008, 2:09 pm
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.

Re: SABnzbd+ G15 display ;)

Posted: March 26th, 2008, 5:23 pm
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).

Re: SABnzbd+ G15 display ;)

Posted: March 26th, 2008, 6:23 pm
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.

Re: SABnzbd+ G15 display ;)

Posted: March 27th, 2008, 1:41 am
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.

Re: SABnzbd+ G15 display ;)

Posted: April 5th, 2008, 5:11 am
by 4wd
Bumped to let people know there's an updated version of LCDMisc which includes an updated version of SABnzbdView

Enjoy

4wd

Re: SABnzbd+ G15 display ;)

Posted: June 1st, 2008, 6:21 am
by Coeluh
Can someone compile it to an exe?

Re: SABnzbd+ G15 display ;)

Posted: June 1st, 2008, 6:43 am
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.

Re: SABnzbd+ G15 display ;)

Posted: August 31st, 2008, 4:06 am
by dbb
Nice, I've been using LCDMisc for a long time.

Re: SABnzbd+ G15 display ;)

Posted: August 31st, 2008, 5:40 am
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  :-\

Re: SABnzbd+ G15 display ;)

Posted: September 5th, 2008, 9:53 pm
by kevin.mccarthy
Anyone know of anything similar for Linux?  Perhaps a plugin app for g15tools (http://g15tools.com/)

Re: SABnzbd+ G15 display ;)

Posted: April 18th, 2009, 8:13 am
by 4wd
Just to let anyone who uses this know that it now supports 0.4.9

Cheers.

Re: SABnzbd+ G15 display ;)

Posted: April 19th, 2009, 6:55 am
by Crusy
website down. any chance to download it again?
Regards