Repository navigation
Cross-seed apply rejects a strict search match when the .torrent drops the collective from a space-joined group #4262
Replies: 1 comment
Agent BriefCategory: enhancement Current behavior: Desired behavior: Key interfaces:
Acceptance criteria:
Out of scope:
Domain:
Logs:
Why a human: Deliberate: the corpus and #3282 reject a space-joined group against the group alone because "a leftover word alone is not evidence." Does that reason still hold when the local torrent carries the collective as its bracketed Site, so the chain local → listing → download supplies the evidence? Related: #2705 (site difference between local and download) and #3334 (the pairwise exact-size version of the same names). |
Uh oh!
There was an error while loading. Please reload this page.
qui: v1.35.0 (still present on
mainat 7211bb2)Search matches a listing strictly, but the add fails with "No matching torrents found with required files", although the tracker's
.torrenthas exactly the local files.Example Show (2020) S01 (1080p AMZN WEB-DL x265 10bit EAC3 5.1 Kyo) [Mura]Kyo/MuraExample Show (2020) S01 (1080p DS4K AMZN WEB-DL x265 SDR DDP 5.1 English - Kyo Mura)Kyo Mura/ –.torrentinfo.nameExample Show (2020) S01 (1080p AMZN WEB-DL x265 10bit EAC3 5.1 Kyo)Kyo/ –The
.torrentholds the same 6 files as the local torrent: same paths, same sizes (14,366,045,546 bytes in total).What happens
classifySearchCandidate(local, listing)givesstrict.spaceJoinedGroupSitematchesKyo MuraagainstKyo+[Mura].downloadReadsAsListingcompares the listing with the download:compareReleases(listing, download)givesgroup mismatch(Kyo MuravsKyo).spaceJoinedGroupSiteneeds a Site on one side, and neither the listing nor the download has one. The stored verdict lists no differences, so it returns false.FindCandidatesreturns no candidate. The add ends in the generic "No matching torrents found with required files", and the reason is only logged at debug level.(Before step 2,
compareGroupSiteAndChecksum(local, download)also flags a site difference:Muraagainst the download's groupKyo. That is #2705; I added this name shape there.)Reproduced with qui's own matcher in a test against v1.35.0:
downloadReadsAsListingreturns false, whilegetMatchTypeWithReasonon the two file lists returnsexact, so the name check is the only thing blocking the add.Suggestion: in
downloadReadsAsListing, accept the group difference when the listing is the local torrent's group and site written space-joined (spaceJoinedGroupSite(local, listing)), and the download keeps the local group. Another group, another collective or another encode would still be rejected. A local patch doing this (plus the #2705 part) passes thecrossseedandreleasessuites.Separately, it would help if the apply result named the gate that dropped the pair instead of the catch-all message.
All reactions