Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Make comma optional in #EXTINF when strict mode is false #85

Merged
merged 1 commit into from
May 5, 2017

Conversation

bradleyfalzon
Copy link
Collaborator

@bradleyfalzon bradleyfalzon commented May 3, 2017

This is a potential breaking change

Previously we would skip a segment which doesn't have a comma in the

For example, the following playlist would have a single nil segment.

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
c_1267327549363093.ts

The new behaviour will cause an error to be returned when parsing if
we're operating in strict mode. If we're not operating in strict mode
the duration will be parsed succesfully as 10.000, with an empty title.

Fixes #84.

@coveralls
Copy link

coveralls commented May 3, 2017

Coverage Status

Coverage increased (+0.5%) to 67.941% when pulling 97d2f47 on bradleyfalzon:extinf-comma into af670bc on grafov:master.

@coveralls
Copy link

coveralls commented May 3, 2017

Coverage Status

Coverage increased (+0.5%) to 67.941% when pulling 97d2f47 on bradleyfalzon:extinf-comma into af670bc on grafov:master.

**This is a potential breaking change**

Previously we would skip a segment which doesn't have a comma in the

For example, the following playlist would have a single nil segment.

 #EXTM3U
 #EXT-X-VERSION:3
 #EXT-X-TARGETDURATION:10
 c_1267327549363093.ts

The new behaviour will cause an error to be returned when parsing if
we're operating in strict mode. If we're not operating in strict mode
the duration will be parsed successfully as 10.000, with an empty title.

Fixes grafov#84.
@coveralls
Copy link

coveralls commented May 3, 2017

Coverage Status

Coverage increased (+0.5%) to 67.941% when pulling f06f0b2 on bradleyfalzon:extinf-comma into af670bc on grafov:master.

@grafov grafov merged commit 547c2ea into grafov:master May 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants