Repository navigation
Cross-seed: map extra announce domains to an indexer so its own torrents are skipped #3233
Replies: 1 comment
Agent Brief Category: enhancement Current behavior: Desired behavior:
Key interfaces:
Acceptance criteria:
Out of scope:
Domain:
Logs:
Why a human: Design: should the extra domains live on the indexer as a new field, or should a tracker customization link to an indexer and lend it its |
Uh oh!
There was an error while loading. Please reload this page.
Cross-seed skips an indexer when the source torrent already comes from that tracker. The check only matches when an announce domain contains the indexer name or domain, or is one of three hardcoded aliases. A tracker that announces on unrelated domains never matches, so qui searches it for its own torrents. References are against
v1.32.0.What happens
IPTorrents announces on
routing.bgp.technology,async.empirehost.meand127.0.0.1.stackoverflow.tech. The indexer comes from Prowlarr asIPTorrents, domainiptorrents.com. No announce domain contains either, sotorrentMatchesIndexerDomain(internal/services/crossseed/service.go:12137) returns false and the indexer is never excluded at:12055("already seeded from this tracker").A Library Scan over IPTorrents torrents therefore searches IPTorrents for each one, finds the same torrent and tries to grab its .torrent file. On a 502-torrent run, 34 of the first 89 results failed with
grab rate-limited, all of them IPTorrents torrents matching themselves. The burned grab limit also blocks genuine IPTorrents matches for torrents from other trackers.Why the existing mappings don't cover it
initializeDomainMappings(:342) is a hardcoded map with three entries (BTN, RED, OPS). Tracker customizations already let me merge the three IPTorrents domains under one display name, but the cross-seed matcher doesn't read them. The customization store is only used for display names (:14560).Suggestion
Either of these would solve it:
trackerDomainsMatchIndexerDomainThe workaround today is leaving IPTorrents out of Library Scans of IPTorrents-sourced categories, which also drops it as a target for torrents that came from other trackers.
29c8996)All reactions