8000 Allow EXT-OATCLS-SCTE35 on non CUE-OUT segments by bbayles · Pull Request #368 · globocom/m3u8 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

bbayles
Copy link
Contributor
@bbayles bbayles commented Jun 13, 2024

In #85 and #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."

output.append("#EXT-X-CUE-IN\n")
elif self.oatcls_scte35:
output.append(f"{ext_oatcls_scte35}:{self.oatcls_scte35}\n")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for using f strings

@mauricioabreu mauricioabreu merged commit 2befe24 into globocom:master Jun 19, 2024
8 checks passed
@bbayles
Copy link
Contributor Author
bbayles commented Jun 20, 2024

Thanks! Looking forward to this being released.

@bbayles bbayles deleted the oatcls-everywhere branch June 20, 2024 14:46
@mauricioabreu
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0