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

Preserve absolute uri when loading a playlist #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GerardSoleCa
Copy link

Summary

When the M3U8 library loads the content from a resource uri it will store the absolute uri of the file. We would like to keep the source reference, so we can know the precedence of the playlist at any time.

Tests

I've added one assert case on a test that was asserting the base_uri. If you think that I should add more tests to the set, just let me know.

When the M3U8 library loads the content from a resource uri it will
store the absolute uri of the file when available
@mauricioabreu
Copy link
Member

Thank you for this contribution @GerardSoleCa
I'm confused here, sorry. What is the difference between the uri used to load the playlist and the absolute_uri in your pull request?

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.

2 participants