improve search and fix languages
Build and Push Docker Image / build (push) Failing after 13s

This commit is contained in:
Worph
2026-09-14 22:29:44 +02:00
parent 346c02567b
commit c82a931a8c
2 changed files with 15 additions and 2 deletions
+8 -1
View File
@@ -499,7 +499,14 @@ export function legacySubtitleMigration(existingMeta: Record<string, unknown> |
const langs = legacyCsvMembers(existingMeta, 'subtitleLanguages');
if (langs) {
deletes.push('subtitleLanguages');
for (const l of langs.map(toLang3)) if (l !== 'und') sets[`subtitleLanguages/${l}`] = 'true';
for (const l of langs.map(toLang3)) {
if (l === 'und') continue;
sets[`subtitleLanguages/${l}`] = 'true';
// …and the union (§9 rule #7). The live write path below already
// does this; the migration path did not, so records that only ever
// went through it were left half-written.
sets[`languages/${l}`] = 'true';
}
}
const subs = legacyCsvMembers(existingMeta, 'subtitles');