From 98fe0a393970070fa04b5f37dbbb7a4c3ef82beb Mon Sep 17 00:00:00 2001 From: Matt Bentley Date: Sat, 19 Nov 2022 10:14:22 -0500 Subject: Adds SABnzbd custom service; fixes #494 (#555) * Adds SABnzbd custom service; fixes #494 --- docs/customservices.md | 16 ++++++ src/components/services/SABnzbd.vue | 99 +++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 src/components/services/SABnzbd.vue diff --git a/docs/customservices.md b/docs/customservices.md index 7448a8c..5bb08ff 100644 --- a/docs/customservices.md +++ b/docs/customservices.md @@ -30,6 +30,7 @@ within Homer: - [CopyToClipboard](#copy-to-clipboard) - [Speedtest Tracker](#SpeedtestTracker) - [What's Up Docker](#whats-up-docker) + - [SABnzbd](#sabnzbd) If you experiencing any issue, please have a look to the [troubleshooting](troubleshooting.md) page. @@ -361,3 +362,18 @@ The following configuration is available for the WUD service. url: "http://192.168.1.12:3001" type: "WUD" ``` + +## SABnzbd + +The SABnzbd service can allow you to show the number of currently active +downloads on your SABnzbd instance. An API key is required, and can be obtained from +the "Config" > "General" section of the SABnzbd config in the SABnzbd web UI. + +```yaml +- name: "SABnzbd" + logo: "assets/tools/sample.png" + url: "http://192.168.0.151:8080" + type: "SABnzbd" + apikey: "MY-SUPER-SECRET-API-KEY" + downloadInterval: 5000 # (Optional) Interval (in ms) for updating the download count +``` diff --git a/src/components/services/SABnzbd.vue b/src/components/services/SABnzbd.vue new file mode 100644 index 0000000..2f93c71 --- /dev/null +++ b/src/components/services/SABnzbd.vue @@ -0,0 +1,99 @@ + + + + + -- cgit v1.2.3