carlanton / m3u8-parser

A simple HLS playlist parser for Java
MIT License
184 stars 60 forks source link

Lenient parsing mode #33

Closed carlanton closed 3 years ago

carlanton commented 3 years ago

Make it possible to ignore unknown tags and attributes by configure the parser with a lenient parsing mode:

MasterPlaylistParser lenientParser = new MasterPlaylistParser(ParsingMode.LENIENT);

The default mode is STRICT and will throw exceptions on unknown stuff.

Fix #32