sync_audio_bulk.sh: lote de sincronizacion de audio TTS con parada en primer fallo #215

Merged
rafa merged 3 commits from feat/issue-sync-bulk-script into main 2026-08-24 19:28:21 +00:00
Showing only changes of commit 654c3d3c35 - Show all commits
+2
View File
@@ -75,6 +75,8 @@ def local_meta(post_id: int, key: str) -> str:
["docker", "exec", WP_CONTAINER, "php", "/tmp/fea_post_io.php", "getmeta", str(post_id), key],
capture_output=True, text=True, timeout=60,
)
if r.returncode != 0:
raise RuntimeError(f"docker exec {WP_CONTAINER} falló leyendo meta '{key}' de #{post_id} (rc={r.returncode}): {r.stderr.strip()[:300]}")
return r.stdout.strip()