mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-11 22:36:35 +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',
|
'PACK',
|
||||||
'TRUMP',
|
'TRUMP',
|
||||||
'RETITLED',
|
'RETITLED',
|
||||||
|
'PRE-RETAIL',
|
||||||
|
'FULL SEASON',
|
||||||
]
|
]
|
||||||
for torrent in self.torrentissue:
|
for torrent in self.torrentissue:
|
||||||
t_name = torrent.name
|
t_name = torrent.name
|
||||||
|
@ -333,7 +335,7 @@ class Qbt:
|
||||||
t_status = self.torrentinfo[t_name]['status']
|
t_status = self.torrentinfo[t_name]['status']
|
||||||
for x in torrent.trackers:
|
for x in torrent.trackers:
|
||||||
if x.url.startswith('http'):
|
if x.url.startswith('http'):
|
||||||
tags = self.config.get_tags(x.url)
|
tags = self.config.get_tags([x.url])
|
||||||
msg_up = x.msg.upper()
|
msg_up = x.msg.upper()
|
||||||
#Add any potential unregistered torrents to a list
|
#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:
|
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