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

+5
View File
@@ -290,6 +290,11 @@ test.group('release / par2 names', () => {
assert.notEqual(ep(1, 'Pokemon - S02E01 - Pallet Party Panic.mkv').key, ep(1, 'Pokemon - S03E01 - x.mkv').key)
})
test('spaces at a dash are no part of a stem key', ({ assert }) => {
const id = (i: string, n: string) => releaseIdentity({ poster: 'JBinUp', subject: `[${i}/58] - Summer Power Up - "${n}" yEnc`, name: n, weak: false })!
assert.equal(id('01', 'www.realmom.info - XVID- Farbiges Krabbeltier.r00').key, id('54', 'www.realmom.info - XVID-Farbiges Krabbeltier.vol03+04.par2').key)
})
test("a scene index's files go with the release: no case, no 00-", ({ assert }) => {
const id = (n: string) => releaseIdentity({ poster: 'SavageCobra <x@y.nhc>', subject: n, name: n, weak: false })!
const a = id('00-laura_van_dam_-_capture_radio_113-cable-10-10-2026-talion.m3u')