mirror of
https://github.com/StuffAnThings/qbit_manage.git
synced 2025-10-22 03:36:57 +08:00
update cross-seed tag logic
This commit is contained in:
parent
c041e3a45f
commit
1f7db1f57b
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ class CrossSeed:
|
|||
not util.is_tag_in_torrent("cross-seed", torrent.tags)
|
||||
and self.qbt.torrentinfo[t_name]["count"] > 1
|
||||
and self.qbt.torrentinfo[t_name]["first_hash"] != torrent.hash
|
||||
and torrent.downloaded == 0
|
||||
and torrent.seeding_time > 0
|
||||
):
|
||||
tracker = self.qbt.get_tags(torrent.trackers)
|
||||
self.stats_tagged += 1
|
||||
|
|
Loading…
Add table
Reference in a new issue