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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant