Plugin: SabNZBD

Python and python framework

Moderator: leecollings

Post Reply
mastair
Posts: 24
Joined: Wednesday 01 July 2015 7:56
Target OS: -
Domoticz version:
Contact:

Plugin: SabNZBD

Post by mastair »

sabnzbd2.PNG
sabnzbd2.PNG (15.81 KiB) Viewed 1346 times
sabnzbd.png
sabnzbd.png (32.13 KiB) Viewed 1346 times
Created another very small plugin for SabNZBD.

What you get:
  • Sensor with pause state (you can control SabNZBD with that as well)
  • Sensor with download speed MB/s
  • Sensor with time left to finish downloading
  • Sensor with data left to download
Prerequisites:
  • SabNZBD, really!?
  • urllib package (pip install urllib if you ain't have it)
Installation and configuration:
  • Put complete folder from zip in plugins folder
  • Add SabNZBD hardware device with the right configuration
Furthermore:
  • If for any reason people are actually interested in this, I will probably make the code a bit nicer (probably some bugs in there). Leave some feedback or feature requests if you'd like.
sabnzbd.png
sabnzbd.png (32.13 KiB) Viewed 1346 times
Attachments
SabNZBD_0.0.1.zip
(7.13 KiB) Downloaded 115 times
Martijn85
Posts: 53
Joined: Wednesday 20 January 2016 20:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands
Contact:

Re: Plugin: SabNZBD

Post by Martijn85 »

Realy nice script, Thanks for sharing!
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Plugin: SabNZBD

Post by remb0 »

nice!
I only use nzbget because of the lighter footprint :P
User avatar
Innovator
Posts: 16
Joined: Tuesday 20 February 2018 12:33
Target OS: NAS (Synology & others)
Domoticz version: 8924
Location: Amsterdam
Contact:

Re: Plugin: SabNZBD

Post by Innovator »

Thanks for this script. It is now running on latest domoticz beta version 8924 / Synology DS412+
Unfortunately I have 2 errors in Domoticz loggging.

(SabNZBD) 'onHeartbeat' failed 'KeyError'
(SabNZBD) ----> Line 60 in /usr/local/domoticz/var/plugins/SabNZBD/plugin.py, function onHeartbeat

I don't have any idea...
:(
Synology DS918+ /DS412+
ASUS BRT-AC828, RT-AC86U, RT-AC68U
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest