Skip to content

Commit

Permalink
4.0.7 (#462)
Browse files Browse the repository at this point in the history
# Requirements Updated
- qbittorrent-api==2023.11.57
- ruamel.yaml==0.18.5

# Bug Fixes
- Fixes #388
- Fixes #452
- Fixes #437
  • Loading branch information
bobokun authored Jan 4, 2024
1 parent 5061883 commit d47ee0b
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 25 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ jobs:
with:
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
uses: docker/login-action@v3
with:
Expand All @@ -51,3 +44,10 @@ jobs:
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
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 changes: 6 additions & 10 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# Requirements Updated
- GitPython==3.1.40
- qbittorrent-api==2023.10.54
- ruamel.yaml==0.18.2
- qbittorrent-api==2023.11.57
- ruamel.yaml==0.18.5

# Bug Fixes
- Fixes #419
- Remove duplicates when cleaning up directories (#422)
- Fixes #426
- Fixes #429
- Fixes #388
- Fixes #452
- Fixes #437

**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.0.5...v4.0.6

Special thanks to @garypiner for their contributions!
**Full Changelog**: https://github.com/StuffAnThings/qbit_manage/compare/v4.0.6...v4.0.7
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.6
4.0.7
6 changes: 3 additions & 3 deletions modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def hooks(attr):

self.apprise_factory = None
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...")
try:
self.apprise_factory = Apprise(
Expand All @@ -233,7 +233,7 @@ def hooks(attr):

self.notifiarr_factory = None
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...")
try:
self.notifiarr_factory = Notifiarr(
Expand All @@ -260,7 +260,7 @@ def hooks(attr):

self.beyond_hd = None
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...")
try:
self.beyond_hd = BeyondHD(
Expand Down
2 changes: 1 addition & 1 deletion modules/qbittorrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def get_torrents(self, params):

def get_tags(self, trackers):
"""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["tag"] = None
tracker["cat"] = None
Expand Down
1 change: 1 addition & 0 deletions modules/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class TorrentMessages:
"STREAM TRUNCATED",
"GATEWAY TIMEOUT", # BHD Gateway Timeout
"ANNOUNCE IS CURRENTLY UNAVAILABLE", # BHD Announce unavailable
"TORRENT HAS BEEN POSTPONED", # BHD Status
]

EXCEPTIONS_MSGS = [
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
flake8==6.1.0
pre-commit==3.5.0
pre-commit==3.6.0
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bencodepy==0.9.5
GitPython==3.1.40
qbittorrent-api==2023.10.54
qbittorrent-api==2023.11.57
requests==2.31.0
retrying==1.3.4
ruamel.yaml==0.18.2
ruamel.yaml==0.18.5
schedule==1.2.1

0 comments on commit d47ee0b

Please sign in to comment.