Skip to content

Conversation

@Frando
Copy link
Contributor

@Frando Frando commented Apr 23, 2024

This adds a feature to fetch subtitles if a Transcript has a subtitleUrl but no text. If this is the case, the subtitleUrl is fetched and parsed as either SRT or VTT. The parsed subtitles are concatenated without time markers and inserted into the text field of the transcript.

This PR includes both the implementation and a test.

Because #102 is still not merged unfortunately, this PR is based on #104 which builds upon the translations branch and adds recent changes from main.

Because tests are still broken in #102 and #104 this PR is also not green. The new test passes though.

@Frando Frando changed the base branch from main to arso/translations April 23, 2024 13:38
@Frando Frando force-pushed the feat/fetch-subtitles branch from 0aa83ae to cb67ec9 Compare April 23, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants