render.mjs: Untertitel wieder eingebrannt (Entscheidung Nutzerin 06.11.: Eltern lesen mit), --ohne-untertitel zum Abschalten
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e215c2e3c0
commit
ad02241e3f
1 changed files with 3 additions and 3 deletions
|
|
@ -90,9 +90,9 @@ const qualitaet = entwurf ? 'entwurf' : 'voll';
|
||||||
const aus = path.join('out', kuerzel, sprache, qualitaet);
|
const aus = path.join('out', kuerzel, sprache, qualitaet);
|
||||||
fs.mkdirSync(aus, {recursive: true});
|
fs.mkdirSync(aus, {recursive: true});
|
||||||
const propsDatei = path.join(aus, 'props.json');
|
const propsDatei = path.join(aus, 'props.json');
|
||||||
// Untertitel nur im Entwurf: in der fertigen Folge sprechen die Aufnahmen, Untertitel kommen je Sprache
|
// Untertitel werden eingebrannt (Entscheidung Nutzerin 06.11.2026: Eltern lesen mit, auch ohne Ton).
|
||||||
// in YouTube Studio (Entscheidung „final ohne Untertitel“). Mit --untertitel trotzdem einbrennen.
|
// Mit --ohne-untertitel abschalten (das Mitmach-„?“ bleibt).
|
||||||
const untertitel = entwurf || args.includes('--untertitel');
|
const untertitel = !args.includes('--ohne-untertitel');
|
||||||
fs.writeFileSync(propsDatei, JSON.stringify({entwurf, sprache, untertitel}));
|
fs.writeFileSync(propsDatei, JSON.stringify({entwurf, sprache, untertitel}));
|
||||||
const gl = process.platform === 'linux' ? 'swangle' : 'angle';
|
const gl = process.platform === 'linux' ? 'swangle' : 'angle';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue