SCENE_RELEASE only for a track post's lower-case name
7ad4b70 also keyed rar uploads by artist and total: "VA - Best Of Shamania
Pro 2K16-(SHB 006)-WEB-2016-ZzZz" became 140 files for 20, Ace_Of_Base 72
for 12. Those group by their full name; only a name without capitals or
spaces (Meow's "blaise_mc-in_hellstill_3-ep-web-2022-known.par2") joins
the tracks.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7ad4b70775
commit
590436d02a
3 files changed
+14
-2
No files matched your search
@@ -424,7 +424,9 @@ export function releaseIdentity(input: ReleaseInput): ReleaseIdentity | null {
|
||||
if (sceneIndex) return { key: hash('stem', poster, sceneIndex[1], postTotal), name: sceneIndex[1], fileTotal, source: 'stem' }
|
||||
// And its par2 and sfv under the release's own name ("[07/14] - "blaise_mc-in_hellstill_3-ep-web-2022-known.par2"": the
|
||||
// par2 of 1,900 Meow and Cat posts was a release apart; LOG.md 2026-10-13 (40)), when the name reads as a scene music release.
|
||||
const sceneRelease = postTotal && !AUDIO.test(input.name) ? SCENE_RELEASE.exec(stem) : null
|
||||
// Only a track post's lower-case name: a rar upload ("VA - Best Of Shamania Pro 2K16-(SHB 006)-WEB-2016-ZzZz.part01.rar",
|
||||
// "Ace_Of_Base-…-CDM-FLAC-1992-REETKEVER.par2") groups by its full name, and by artist and total its albums merged.
|
||||
const sceneRelease = postTotal && !AUDIO.test(input.name) && !/[A-Z\s]/.test(stem) ? SCENE_RELEASE.exec(stem) : null
|
||||
if (sceneRelease) return { key: hash('stem', poster, sceneRelease[1], postTotal), name: sceneRelease[1], fileTotal, source: 'stem' }
|
||||
// An image without words around it: its set by its name (keyed as a stem, so "x.jpg" joins "x.part01.rar").
|
||||
// Keyed by its set when its name has one ("##[ "diana-040-001.jpg" (01/68)": all of a poster's 263 diana sets were
|
||||
|
||||
Reference in new issue
Block a user