From 88e3fb2c5c2d1d9c20a3bd57a556def862729a62 Mon Sep 17 00:00:00 2001 From: bobokun Date: Fri, 17 Dec 2021 10:43:33 -0500 Subject: [PATCH] Add new unregistered torrents logic --- modules/qbittorrent.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/qbittorrent.py b/modules/qbittorrent.py index a78f5af..202c69f 100644 --- a/modules/qbittorrent.py +++ b/modules/qbittorrent.py @@ -325,6 +325,8 @@ class Qbt: 'PACK', 'TRUMP', 'RETITLED', + 'PRE-RETAIL', + 'FULL SEASON', ] for torrent in self.torrentissue: t_name = torrent.name @@ -333,7 +335,7 @@ class Qbt: t_status = self.torrentinfo[t_name]['status'] for x in torrent.trackers: if x.url.startswith('http'): - tags = self.config.get_tags(x.url) + tags = self.config.get_tags([x.url]) msg_up = x.msg.upper() #Add any potential unregistered torrents to a list if not any(m in msg_up for m in unreg_msgs) and x.status == 4 and 'DOWN' not in msg_up and 'UNREACHABLE' not in msg_up: