mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-11-12 01:10:50 +08:00
4.0.7 (#462)
# Requirements Updated - qbittorrent-api==2023.11.57 - ruamel.yaml==0.18.5 # Bug Fixes - Fixes #388 - Fixes #452 - Fixes #437
This commit is contained in:
parent
5061883b1f
commit
d47ee0b75c
8 changed files with 22 additions and 25 deletions
14
.github/workflows/develop.yml
vendored
14
.github/workflows/develop.yml
vendored
|
|
@ -18,13 +18,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: develop
|
ref: develop
|
||||||
|
|
||||||
- name: Trigger Hotio Webhook
|
|
||||||
uses: joelwmale/webhook-action@master
|
|
||||||
with:
|
|
||||||
url: ${{ secrets.HOTIO_WEBHOOK_URL }}
|
|
||||||
headers: '{"Authorization": "Bearer ${{ secrets.HOTIO_WEBHOOK_SECRET }}"}'
|
|
||||||
body: '{ "application": "qbitmanage", "branch": "nightly" }'
|
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -51,3 +44,10 @@ jobs:
|
||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/qbit_manage:develop
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/qbit_manage:develop
|
||||||
|
|
||||||
|
- name: Trigger Hotio Webhook
|
||||||
|
uses: joelwmale/webhook-action@master
|
||||||
|
with:
|
||||||
|
url: ${{ secrets.HOTIO_WEBHOOK_URL }}
|
||||||
|
headers: '{"Authorization": "Bearer ${{ secrets.HOTIO_WEBHOOK_SECRET }}"}'
|
||||||
|
body: '{ "application": "qbitmanage", "branch": "nightly" }'
|
||||||
|
|
|
||||||
16
CHANGELOG
16
CHANGELOG
|
|
@ -1,14 +1,10 @@
|
||||||
# Requirements Updated
|
# Requirements Updated
|
||||||
- GitPython==3.1.40
|
- qbittorrent-api==2023.11.57
|
||||||
- qbittorrent-api==2023.10.54
|
- ruamel.yaml==0.18.5
|
||||||
- ruamel.yaml==0.18.2
|
|
||||||
|
|
||||||
# Bug Fixes
|
# Bug Fixes
|
||||||
- Fixes #419
|
- Fixes #388
|
||||||
- Remove duplicates when cleaning up directories (#422)
|
- Fixes #452
|
||||||
- Fixes #426
|
- Fixes #437
|
||||||
- Fixes #429
|
|
||||||
|
|
||||||
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.0.5...v4.0.6
|
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.0.6...v4.0.7
|
||||||
|
|
||||||
Special thanks to @garypiner for their contributions!
|
|
||||||
|
|
|
||||||
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
||||||
4.0.6
|
4.0.7
|
||||||
|
|
|
||||||
|
|
@ -213,7 +213,7 @@ class Config:
|
||||||
|
|
||||||
self.apprise_factory = None
|
self.apprise_factory = None
|
||||||
if "apprise" in self.data:
|
if "apprise" in self.data:
|
||||||
if self.data["apprise"] is not None:
|
if self.data["apprise"] is not None and self.data["apprise"].get("api_url") is not None:
|
||||||
logger.info("Connecting to Apprise...")
|
logger.info("Connecting to Apprise...")
|
||||||
try:
|
try:
|
||||||
self.apprise_factory = Apprise(
|
self.apprise_factory = Apprise(
|
||||||
|
|
@ -233,7 +233,7 @@ class Config:
|
||||||
|
|
||||||
self.notifiarr_factory = None
|
self.notifiarr_factory = None
|
||||||
if "notifiarr" in self.data:
|
if "notifiarr" in self.data:
|
||||||
if self.data["notifiarr"] is not None:
|
if self.data["notifiarr"] is not None and self.data["notifiarr"].get("apikey") is not None:
|
||||||
logger.info("Connecting to Notifiarr...")
|
logger.info("Connecting to Notifiarr...")
|
||||||
try:
|
try:
|
||||||
self.notifiarr_factory = Notifiarr(
|
self.notifiarr_factory = Notifiarr(
|
||||||
|
|
@ -260,7 +260,7 @@ class Config:
|
||||||
|
|
||||||
self.beyond_hd = None
|
self.beyond_hd = None
|
||||||
if "bhd" in self.data:
|
if "bhd" in self.data:
|
||||||
if self.data["bhd"] is not None:
|
if self.data["bhd"] is not None and self.data["bhd"].get("apikey") is not None:
|
||||||
logger.info("Connecting to BHD API...")
|
logger.info("Connecting to BHD API...")
|
||||||
try:
|
try:
|
||||||
self.beyond_hd = BeyondHD(
|
self.beyond_hd = BeyondHD(
|
||||||
|
|
|
||||||
|
|
@ -201,7 +201,7 @@ class Qbt:
|
||||||
|
|
||||||
def get_tags(self, trackers):
|
def get_tags(self, trackers):
|
||||||
"""Get tags from config file based on keyword"""
|
"""Get tags from config file based on keyword"""
|
||||||
urls = [x.url for x in trackers if x.url.startswith("http")]
|
urls = [x.url for x in trackers if x.url.startswith(("http", "udp", "ws"))]
|
||||||
tracker = {}
|
tracker = {}
|
||||||
tracker["tag"] = None
|
tracker["tag"] = None
|
||||||
tracker["cat"] = None
|
tracker["cat"] = None
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ class TorrentMessages:
|
||||||
"STREAM TRUNCATED",
|
"STREAM TRUNCATED",
|
||||||
"GATEWAY TIMEOUT", # BHD Gateway Timeout
|
"GATEWAY TIMEOUT", # BHD Gateway Timeout
|
||||||
"ANNOUNCE IS CURRENTLY UNAVAILABLE", # BHD Announce unavailable
|
"ANNOUNCE IS CURRENTLY UNAVAILABLE", # BHD Announce unavailable
|
||||||
|
"TORRENT HAS BEEN POSTPONED", # BHD Status
|
||||||
]
|
]
|
||||||
|
|
||||||
EXCEPTIONS_MSGS = [
|
EXCEPTIONS_MSGS = [
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
flake8==6.1.0
|
flake8==6.1.0
|
||||||
pre-commit==3.5.0
|
pre-commit==3.6.0
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
bencodepy==0.9.5
|
bencodepy==0.9.5
|
||||||
GitPython==3.1.40
|
GitPython==3.1.40
|
||||||
qbittorrent-api==2023.10.54
|
qbittorrent-api==2023.11.57
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
retrying==1.3.4
|
retrying==1.3.4
|
||||||
ruamel.yaml==0.18.2
|
ruamel.yaml==0.18.5
|
||||||
schedule==1.2.1
|
schedule==1.2.1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue