Added argument to disable actor association.

This commit is contained in:
DebaucheryLibrarian
2026-02-03 05:40:25 +01:00
parent 37b92209f0
commit a1be68366c
2 changed files with 6 additions and 1 deletions

View File

@@ -451,7 +451,7 @@ async function storeScenes(releases, useBatchId) {
});
const [actors, storedSeries] = await Promise.all([
associateActors(releasesWithId, batchId),
argv.associateActors && associateActors(releasesWithId, batchId),
storeSeries(releasesWithId.map((release) => release.serie && { ...release.serie, entity: release.entity }).filter(Boolean), batchId),
associateReleaseTags(releasesWithId),
storeChapters(releasesWithId),