update cross-seed tag logic

This commit is contained in:
bobokun 2024-02-11 15:04:47 -05:00
parent c041e3a45f
commit 1f7db1f57b
No known key found for this signature in database
GPG key ID: B73932169607D927

View file

@ -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