Skip to content

Conversation

@MasoudRahmani
Copy link

@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