Expand Lumen stories and add island postcards

This commit is contained in:
Hadrian Burkhardt
2026-11-13 10:18:42 +01:00
parent 7e6b203a02
commit abaab927d9
211 changed files with 10839 additions and 7278 deletions
+4
View File
@@ -22,6 +22,10 @@ parser.add_argument('--root',type=Path,default=Path(__file__).resolve().parents[
parser.add_argument('--story-root',type=Path,help='Render an independent story package with narration/scripts.json and audio/ assets')
a=parser.parse_args()
source=(a.story_root/'narration') if a.story_root else a.root/'assets/narration'
if (source/'performance.json').exists():
performance=json.loads((source/'performance.json').read_text())
if performance.get('engine')=='qwen3-voice-design':
parser.error('This story uses Qwen VoiceDesign; run scripts/render_qwen_narration.py')
raw=(a.story_root/'audio') if a.story_root else a.root/'assets/audio'
(source/'flac').mkdir(parents=True,exist_ok=True) if a.story_root else None
records=json.loads((source/'scripts.json').read_text())