mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-10 14:00:12 +08:00
Add new unregistered torrents logic
This commit is contained in:
parent
dd3c1e968c
commit
88e3fb2c5c
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue