A Webvtt file with identifiers and empty cue results in adding the identifier as subtitle.
chairajappa opened this issue · 1 comments
chairajappa commented
pyCaption released a version (1.0.4) that allows empty cue without throwing any error.
I noticed a bug in a scenario, where a webVtt file with identifier and empty cue results in adding the identifier as a subtitle. The latest version 2.0.7 has the same issue.
e.g.
1
00:00:19.866 --> 00:00:29.800
subtitle 1
2
00:00:29.933 --> 00:00:37.500
3
00:00:37.600 --> 00:00:43.601
subtitle 2
Converted vtt file
00:19.866 --> 00:29.800
subtitle 1
00:37.600 --> 00:43.601
3
subtitle 2
00:43.666 --> 00:46.500
subtitle 3
chairajappa commented
Please find the test file and pyCaptions output in the attached file.