We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. We currently use you're library for parsing srt, vtt format subtitles.
Thank you for sharing the code.
By the way, when you parsing the srt format file, empty line after CUE_TIMECODE CursorStatus is treated as error case.
But there are possible case that text of cue is blank.
Can you modify this algorithm to handle a blank line?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I fixed it by adding these lines:
if (cursorStatus == CursorStatus.CUE_TIMECODE && textLine.isEmpty()) { srtObject.addCue(cue); cue = null; cursorStatus = CursorStatus.NONE; continue; }
Sorry, something went wrong.
No branches or pull requests
Hi. We currently use you're library for parsing srt, vtt format subtitles.
Thank you for sharing the code.
By the way, when you parsing the srt format file, empty line after CUE_TIMECODE CursorStatus is treated as error case.
But there are possible case that text of cue is blank.
Can you modify this algorithm to handle a blank line?
Thanks.
The text was updated successfully, but these errors were encountered: