Skip to main content

benecaster_transcript_formatted

Action Premium transcription

Fires once after a Format transcript run has stored its HTML, a first run or Format again, and cleared the show’s feed cache. To read the formatted text, fetch the row and pass it through BenecasterTranscription\Format\FormattedHtml::clean( $row ), because a timed transcript’s version may hold line markers.

Not fired for a run that failed or stored nothing, nor when a correction or Replace clears the formatted version: those fire benecaster_transcript_updated when the text changed. It runs in the background, so there is no request user and no screen. There is no before action.

Parameters

Name Type Default Description
$transcript_id int — ID of the transcript.
$episode_id int — ID of the episode.

Need this built rather than just documented? See our services →