globocom / m3u8

Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions
Other
1.98k stars 464 forks source link

Allow EXT-OATCLS-SCTE35 on non CUE-OUT segments #368

Closed bbayles closed 2 weeks ago

bbayles commented 3 weeks ago

In https://github.com/globocom/m3u8/issues/85 and https://github.com/globocom/m3u8/pull/290, support for EXT-OATCLS-SCTE35 tags was added - these are used by Elemental and some others.

Currently, this library only supports EXT-OATCLS-SCTE35 tags on segments that in a "cue out" state. However, they are often used outside of that context as well - I've added an example playlist to the test suite.

This PR updates the support for these tags to allow them to flow through even if they aren't associated with a "cue out."

bbayles commented 2 weeks ago

Thanks! Looking forward to this being released.

mauricioabreu commented 2 weeks ago

@bbayles I'm going to release a new version later today. Thank you!