Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

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

Open
sjpotter wants to merge 4 commits intografov:masterfrom
sjpotter:move-alternatives
Open

thought of how to address "alternatives" to fix inconsistency#192
sjpotter wants to merge 4 commits intografov:masterfrom
sjpotter:move-alternatives

Conversation

@sjpotter
Copy link
Copy Markdown

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
Copy Markdown
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
@grafov grafov force-pushed the master branch 2 times, most recently from 270a170 to e24c5cd Compare September 11, 2025 17:33
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