A scene music post's par2 under the release name; .par/.part before .par2
Test and deploy / test (push) Successful in 47s
Test and deploy / edge (push) Successful in 1m57s
Test and deploy / deploy (push) Successful in 1m31s

"[07/14] - "blaise_mc-in_hellstill_3-ep-web-2022-known.par2"": the tracks and the
00- files are keyed by artist and total, the par2 by its stem, so ~1,900 Meow
and Cat posts were two releases. Under a counter a stem that reads as a scene
music release (artist-…-web|cd|ep|single|vinyl|…-…YYYY(-group)) takes the
artist key. And "goh1Phoz5ahXu.par.vol006+08.par2", "X.part.par2" beside
the volumes: .par/.part before a par2 suffix goes too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daan MeijerandClaude Opus 5.5 committed 2026-10-13 06:56:56 +02:00
1 parent 2bbabc08de
commit 7ad4b70775
3 files changed
+52 -2

No files matched your search

+9
View File
@@ -309,6 +309,9 @@ test.group('release / par2 names', () => {
assert.equal(fileStem('Licence 700790900887990.z18'), 'Licence 700790900887990')
assert.equal(fileStem('Licence 077887994400668.x12'), 'Licence 077887994400668')
assert.equal(fileStem('Reply 987986177631730.x004'), 'Reply 987986177631730')
assert.equal(fileStem('goh1Phoz5ahXu.par.vol006+08.par2'), 'goh1Phoz5ahXu')
assert.equal(fileStem('brSWc0Q2KWblQpogOmgbn9.part.par2'), 'brSWc0Q2KWblQpogOmgbn9')
assert.equal(fileStem('x.parts.par2'), 'x.parts')
assert.equal(fileStem('Some.Movie.2010.x264'), 'Some.Movie.2010.x264')
assert.equal(runOn('lois 1258 Billy Joel - Extremes.part01.rar lois 1258 Billy Joel - Extremes '), 'lois 1258 Billy Joel - Extremes.part01.rar')
assert.equal(runOn('GrooveCoverage.part26.rarGrooveCoveragebestof'), 'GrooveCoverage.part26.rar')
@@ -384,6 +387,12 @@ test.group('release / par2 names', () => {
assert.equal(meow('01', n).key, tracks, n)
}
assert.notEqual(meow('01', '00-frank_van_etten-wie_heeft_jouw_lach_gestolen-single-web-nl-2022-cover.jpg').key, tracks)
const blaise = (i: string, n: string) => id(`[${i}/14] - "${n}" yEnc`, n)
assert.equal(blaise('07', 'blaise_mc-in_hellstill_3-ep-web-2022-known.par2').key, blaise('03', '00-blaise_mc-in_hellstill_3-ep-web-2022.nfo').key)
assert.equal(blaise('09', 'blaise_mc-in_hellstill_3-ep-web-2022-known.vol000+01.par2').key, blaise('05', '01-blaise_mc-intro.mp3').key)
// A film isn't a scene music release.
assert.equal(blaise('01', 'Some.Movie.2010.1080p.BluRay.x264-GRP.par2').source, 'stem')
assert.equal(blaise('01', 'Some.Movie.2010.1080p.BluRay.x264-GRP.par2').name, 'Some.Movie.2010.1080p.BluRay.x264-GRP')
})
test('a host and a sponsor without a counter name no upload', ({ assert }) => {