Skip to content

Split undefined bug - Subrip files that has CR+LF#6

Open
MasoudRahmani wants to merge 5 commits intoEldinZenderink:masterfrom
MasoudRahmani:master
Open

Split undefined bug - Subrip files that has CR+LF#6
MasoudRahmani wants to merge 5 commits intoEldinZenderink:masterfrom
MasoudRahmani:master

Conversation

@MasoudRahmani
Copy link
Copy Markdown

@MasoudRahmani MasoudRahmani commented Apr 21, 2021

SRT files that their each line end with CR+LF don't work with current algorithm because each dialog is not grouped in one line and therefore text and timing is not separated.

for this code to work we need to have only "LF" .


also rawgit is closing down, so i changed to jsdeliver.

Better Handling of line split. supports CR+LF.  "line" var will always have 1 line(child).
rawgit will close down!
If each line in subrip file is ended with CR+LF, split doesn't work properly, therefore we need to remove all "CR".
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.

1 participant