Files
Cesar Berrospi Ramis df9a2ca34e fix(webvtt): skip the metadata header after the WEBVTT line
Follow-up to #975. Real yt-dlp files have the `Kind: captions` and
`Language: en` lines right after "WEBVTT". They were parsed as a cue and
emitted a "Failed to parse cue block" warning.

- Ignore the header lines after "WEBVTT", up to the first empty line or
  the first line with cue timings, as the WebVTT parsing rules do.
- Add a yt-dlp transcript to the test data.

Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
2026-11-14 00:14:21 +01:00
..