Fixing RSS

This commit is contained in:
2025-10-05 15:22:49 +02:00
parent 0b962d4242
commit fb3b011b9e
2 changed files with 9 additions and 1 deletions

View File

@@ -2001,6 +2001,14 @@ def transcribe_job(path_str: str):
print(f"[pause] transcribe_job: pause is active; skipping start for {path_str}", flush=True)
return "paused"
p = Path(path_str)
if not p.exists():
# Underlying file moved or deleted; skip gracefully instead of crashing ffmpeg.
try:
log({"path": path_str, "status": "skip", "reason": "file_not_found"})
except Exception:
pass
print(f"[transcribe] missing input; skipping job: {p}", flush=True)
return "missing"
try:
base = transcribe(p)
except PauseInterrupt: