mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-23 00:10:11 +02:00
Compare commits
5 Commits
copilot/fi
...
211074f609
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
211074f609 | ||
|
|
58142a5053 | ||
|
|
ae28e1e759 | ||
|
|
0355dd534b | ||
|
|
ce01e657fe |
@@ -1,5 +1,5 @@
|
||||
## 5.2.0-16 (13-05-2026)
|
||||
- Minor bugs fixed
|
||||
## 5.2.0-17 (13-05-2026)
|
||||
- Remove lockfile due to upstream bug https://github.com/linuxserver/docker-qbittorrent/issues/434
|
||||
|
||||
## 5.2.0-2 (2026-05-10)
|
||||
- Fix startup loop on aarch64: drop s6-notifyoncheck wrapper so s6 supervises qbittorrent-nox directly (LSIO arm64 image has no notification-fd, causing EBADF restart loop)
|
||||
|
||||
@@ -143,4 +143,4 @@ schema:
|
||||
slug: qbittorrent
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons
|
||||
version: "5.2.0-16"
|
||||
version: "5.2.0-17"
|
||||
|
||||
@@ -5,7 +5,11 @@ mkdir -p /config/qBittorrent
|
||||
mkdir -p /config/wireguard
|
||||
mkdir -p /config/openvpn
|
||||
|
||||
MIGRATED=""
|
||||
MIGRATED=""x
|
||||
|
||||
if [ -f /config/qBittorrent/lockfile ]; then
|
||||
rm /config/qBittorrent/lockfile
|
||||
fi
|
||||
|
||||
# Move main folder
|
||||
if [ -f /homeassistant/addons_config/qBittorrent/qBittorrent.conf ] && [ ! -f /homeassistant/addons_config/qBittorrent/migrated ]; then
|
||||
|
||||
@@ -152,7 +152,7 @@ _pnat_set_firewall() {
|
||||
# --- qBittorrent Specific Logic ---
|
||||
|
||||
_qbt_login() {
|
||||
config["SID"]=$(_cmd "curl -s -k -i --header \"Referer: ${config["Schema"]}://${config["Server"]}:${config["Port"]}\" --data \"username=${config["User"]}\" --data-urlencode \"password=${config["Pass"]}\" \"${config["Schema"]}://${config["Server"]}:${config["Port"]}/api/v2/auth/login\" | grep -oP '(?!set-cookie:.)SID=.*(?=\;.HttpOnly\;)'")
|
||||
config["SID"]=$(_cmd "curl -s -k -i --header \"Referer: ${config["Schema"]}://${config["Server"]}:${config["Port"]}\" --data \"username=${config["User"]}\" --data-urlencode \"password=${config["Pass"]}\" \"${config["Schema"]}://${config["Server"]}:${config["Port"]}/api/v2/auth/login\" | grep -oiP 'set-cookie:.*SID[^=]*=\K[^;]+'")
|
||||
return $?
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user