Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite transcript logic to be more generic #4747

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

syeopite
Copy link
Member

The transcript logic in Invidious was written specifically as a workaround for captions, and not transcripts as a feature.

This PR genericises the logic as so it can be used for actually implementing transcripts within Invidious' as well.

The most notable change is the added parsing of section headings when it was previously skipped over in favor of regular lines.

The changes in src/invidious/videos/transcript.cr should be reviewed as more of a rewrite than just changes.

@syeopite syeopite requested a review from a team as a code owner June 12, 2024 01:10
@syeopite syeopite requested review from SamantazFox and removed request for a team June 12, 2024 01:10
The transcript logic in Invidious was written specifically
as a workaround for captions, and not transcripts as a feature.

This commit genericises the logic a bit as so it can be used for
implementing transcripts within Invidious' API and UI as well.

The most notable change is the added parsing of section headings
when it was previously skipped over in favor of regular lines.
@SamantazFox SamantazFox added need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something in-testing This feature has been deployed and is being tested and removed need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something labels Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-testing This feature has been deployed and is being tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants