avoid yify

This commit is contained in:
Alexandre
2025-07-12 08:30:19 +02:00
parent e4e169e2a0
commit 4c5f17bb19
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
## 5.1.2 (05-07-2025)
- Safety check : check if yify.foo found in qbittorrent.conf
## 5.1.2 (05-07-2025)
- Update to latest version from linuxserver/docker-qbittorrent (changelog : https://github.com/linuxserver/docker-qbittorrent/releases)
## 5.1.1 (28-06-2025)

View File

@@ -141,5 +141,5 @@
"slug": "qbittorrent",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "5.1.2"
"version": "5.1.2-2"
}

View File

@@ -236,5 +236,10 @@ fi
# CLOSE #
##########
if grep -q "yify.foo" "$CONFIG_LOCATION"/qBittorrent.conf; then
bashio::log.warning "yify.foo found in qBittorrent.conf, this is a safety issue. It is removed now, but you should check your configuration."
sed -i '/yify.foo/d' "$CONFIG_LOCATION"/qBittorrent.conf
fi
bashio::log.info "Default username/password : $USERNAME/homeassistant"
bashio::log.info "Configuration can be found in $CONFIG_LOCATION"