From 6515161ba29cdb527eab98445a50116555703283 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:42:03 +0100 Subject: [PATCH 1/3] Remove DEFAULT_PORT variable from script --- tools/addon/add-qbittorrent-exporter.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/addon/add-qbittorrent-exporter.sh b/tools/addon/add-qbittorrent-exporter.sh index a3c2290e9..b7d5f3703 100644 --- a/tools/addon/add-qbittorrent-exporter.sh +++ b/tools/addon/add-qbittorrent-exporter.sh @@ -8,7 +8,6 @@ APP="qbittorrent-exporter" INSTALL_PATH="/opt/qbittorrent-exporter/src/qbittorrent-exporter" CONFIG_PATH="/opt/qbittorrent-exporter.env" -DEFAULT_PORT=8080 SRC_DIR="/" TMP_BIN="/tmp/qbittorrent-exporter.$$" From 7932be9fb314a7751aa4ffea900ba681691439f4 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:42:50 +0100 Subject: [PATCH 2/3] Create qbittorrent-exporter.json --- .../public/json/qbittorrent-exporter.json | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 frontend/public/json/qbittorrent-exporter.json diff --git a/frontend/public/json/qbittorrent-exporter.json b/frontend/public/json/qbittorrent-exporter.json new file mode 100644 index 000000000..44481c0b1 --- /dev/null +++ b/frontend/public/json/qbittorrent-exporter.json @@ -0,0 +1,47 @@ +{ + "name": "qbittorren Exporter", + "slug": "qbittorrent-exporter", + "categories": [ + 1, + 11 + ], + "date_created": "2025-11-21", + "type": "addon", + "updateable": true, + "privileged": false, + "interface_port": 8090, + "documentation": "https://github.com/martabal/qbittorrent-exporter", + "website": "https://github.com/martabal/qbittorrent-exporter", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/qbittorrent.webp", + "config_path": "/opt/qbittorrent-exporter.env", + "description": "A fast and lightweight prometheus exporter for qBittorrent ", + "install_methods": [ + { + "type": "default", + "script": "tools/addon/qbittorrent-exporter.sh", + "resources": { + "cpu": null, + "ram": null, + "hdd": null, + "os": null, + "version": null + } + }, + { + "type": "alpine", + "script": "tools/addon/qbittorrent-exporter.sh", + "resources": { + "cpu": null, + "ram": null, + "hdd": null, + "os": null, + "version": null + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [] +} From d48a352884fbf58fafe0cbc3f796a641939e5fab Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 21 Nov 2025 09:44:07 +0100 Subject: [PATCH 3/3] Rename add-qbittorrent-exporter.sh to qbittorrent-exporter.sh --- .../{add-qbittorrent-exporter.sh => qbittorrent-exporter.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tools/addon/{add-qbittorrent-exporter.sh => qbittorrent-exporter.sh} (100%) diff --git a/tools/addon/add-qbittorrent-exporter.sh b/tools/addon/qbittorrent-exporter.sh similarity index 100% rename from tools/addon/add-qbittorrent-exporter.sh rename to tools/addon/qbittorrent-exporter.sh