Skip to content

Commit

Permalink
Merge pull request #350 from bcc-code/fix/multiple-transcriptions
Browse files Browse the repository at this point in the history
Only keep one transcribed subtitle
  • Loading branch information
KillerX authored Nov 28, 2024
2 parents 76d40f2 + 829d585 commit 8567d07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflows/misc/transcribe-vx.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@ func TranscribeVX(
AssetID: params.VXID,
FilePath: transcriptionJob.JSONPath,
ShapeTag: "transcription_json",
Replace: true,
})

importSRTJob := wfutils.Execute(ctx, activities.Vidispine.ImportFileAsShapeActivity,
vsactivity.ImportFileAsShapeParams{
AssetID: params.VXID,
FilePath: transcriptionJob.SRTPath,
ShapeTag: "Transcribed_Subtitle_SRT",
Replace: true,
})

var errs []error
Expand Down

0 comments on commit 8567d07

Please sign in to comment.