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

Add internal identifier for subtitle cues #974

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Feb 2, 2023

The subtitle editor requires unique identifiers to work properly. However, the webvtt parser does not provide such ids. WebVTT cue ids are not a good fit either, as they hardly qualifiy as identifiers.

This adds a new field to the subtitle cues to act as a unique identifier. This should also stop the editor from adding randomly generated WebVTT cue ids to subtitle files.

Helps with #941.

The subtitle editor requires unique identifiers to work properly.
However, the webvtt parser does not provide such ids. WebVTT cue ids are
not a good fit either, as they hardly qualifiy as identifiers.

This adds a new field to the subtitle cues to act as a unique
identifier. This should also stop the editor from adding
randomly generated WebVTT cue ids to subtitle files.
@Arnei Arnei added type:usability Usability improvements view:subtitle-editor labels Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

This pull request is deployed at test.editor.opencast.org/974/2023-02-02_15-07-39/ .
It might take a few minutes for it to become available.

@Arnei
Copy link
Member Author

Arnei commented Apr 3, 2023

@lkiesow You said you wanted to do reviews, how about this one? :D

@lkiesow lkiesow merged commit cc7d597 into opencast:main Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants