Advance a conversion job by one bounded chunk of work
audiobook_continue_conversionResume an interrupted audiobook conversion job from its last checkpoint, advancing through encoding and assembly until the chaptered M4B file is complete.
Instructions
Do up to time_budget_seconds of work on a job (aligning chapters, encoding segments, assembling, or delivering the final file -- whichever stage it's currently in), checkpoint to disk, and return. Re-call this with the same job_id, or use audiobook_run_until_done to loop automatically, until the response's "done" field is true.
Safe to call again immediately if a previous call errored partway through a stage -- work already checkpointed is never redone.
Args: params (ContinueConversionInput): - job_id (str): from audiobook_start_conversion. - time_budget_seconds (float): stop and checkpoint after roughly this long (5-300s, default 60).
Returns: str: JSON status object -- see audiobook_get_status's Returns schema, which this shares exactly.
Error Handling: - "unknown_job" if job_id isn't registered. - ffmpeg/encoding failures surface with ffmpeg's own error text tail included; the job's checkpoint is untouched so retrying (after e.g. freeing disk space) picks up where it left off.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |