go-astisub
go-astisub copied to clipboard
srtTimeBoundariesSeparator will lead to incorrect results
const ( srtTimeBoundariesSeparator = " --> " )
when the srt content is like:
1
00:08:29,079 -->00:08:30,119
hello
because there lose a space, this line will not be indefiy, output string will be nothing.
i hope return a error for this
As the .srt
you're mentionning is not valid, the only thing this lib could do is return an error. However the way things are done, it's not trivial to do it while changing the least amount of code. I'll add it to this project's todo but won't have time to work on it anytime soon