iheartradio / open-m3u8

Open Source m3u8 Parser
Other
248 stars 94 forks source link

Added a lenient parsing mode that allows access to unparsed lines as #6

Closed derjust closed 9 years ago

derjust commented 9 years ago

As requested by the spec:

To support forward compatibility, when parsing Playlists, Clients
   MUST:
   o  ignore any unrecognized tags.

This PR adds an optional parameter to parse the input stream in a lenient fashion to solve https://github.com/iheartradio/open-m3u8/issues/3. All unrecognized tags are collected in a unspecified string list and can be examined later by the caller.

derjust commented 9 years ago

Resolved discussed diffs.

Wopple commented 9 years ago

It appears you have a "Lenient" branch and a "lenient" branch. I think the case insensitivity of HFS+ on Macs makes it impossible for git to distinguish the two. Please try to avoid case insensitively equal branch names. :(