Spaces at a dash are no part of a stem key
Test and deploy / test (push) Successful in 58s
Test and deploy / edge (push) Successful in 2m9s
Test and deploy / deploy (push) Successful in 1m38s

"www.realmom.info - XVID- Farbiges Krabbeltier.r00" beside "… XVID-Farbiges
Krabbeltier.vol03+04.par2": 52 JBinUp uploads were two releases each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daan MeijerandClaude Opus 5.5 committed 2026-10-13 12:51:47 +02:00
1 parent 550f63cd84
commit 96553a5504
3 files changed
+14 -2

No files matched your search

+3 -1
View File
@@ -464,7 +464,9 @@ export function releaseIdentity(input: ReleaseInput): ReleaseIdentity | null {
const base = volume && postTotal && Number(volume[2]) <= postTotal ? volume[1] : stem
// Without case and a scene index's "00-" ("00-laura_van_dam_-_capture_radio_113-cable-10-10-2026-talion.m3u" beside
// "Laura_van_Dam_-_Capture_Radio_113-CABLE-10-10-2026-TALiON.par2": one upload, two releases; LOG.md 2026-10-12 (19)).
return { key: hash('stem', poster, base.toLowerCase().replace(/^00[-_ .]+/, '')), name: stem, fileTotal, source: 'stem' }
// Nor spaces at a dash ("www.realmom.info - XVID- Farbiges Krabbeltier.r00" beside "… XVID-Farbiges Krabbeltier.vol03+04.par2":
// 52 uploads were two releases each; LOG.md 2026-10-13 (46)).
return { key: hash('stem', poster, base.toLowerCase().replace(/^00[-_ .]+/, '').replace(/ *- */g, '-')), name: stem, fileTotal, source: 'stem' }
}
/** Release of a par2 recovery set; every file listed in it belongs to it. */