Fixing RSS
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user