Skip to content
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

thought of how to address "alternatives" to fix inconsistency #192

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sjpotter
Copy link

currently, what m3u8 package calls alternatives seem to be handled inconsistently. Namely, only the first "variant" after the set of alternatives gets the alternative and if the altneratives are at the end of the file, none get them.

currently, what m3u8 package calls alternatives seem to be handled inconsistently.  Namely, only the first "variant" after the set of alternatives gets the alternative and if the altneratives are at the end of the file, none get them.
@sjpotter
Copy link
Author

the breaks somethings (i.e. is not complete), but is pushed as a POC in terms of perhaps a better API.

With that said, even with that, I'm not sure how it should work with multiple groups of alternatives, I'm not sure it matters so much (the end user can figure it out via group tag), but the current code doesn't work for real life cases at the moment either.

too much flipping between go and other languages with case fallthrough
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.

1 participant