Adding support for audio again

This commit is contained in:
2026-05-08 08:08:08 +02:00
parent 26d027a44e
commit f0387f24bb
3 changed files with 22 additions and 12 deletions
+3
View File
@@ -57,6 +57,9 @@ def validate_project(
# Skip audio markers (start with 'A' followed by audio id, e.g., Awoosh)
if marker.startswith("A") and len(marker) > 1 and marker[1:].isalnum():
continue
# Skip audio: prefix markers (e.g., audio:woosh)
if marker.startswith("audio:"):
continue
# Validate video trigger markers — both legacy [video:xxx] and
# shorthand [vft:xxx] / [vfb:xxx] / [vst:xxx] / [vsb:xxx].
_VIDEO_PREFIXES = {