globocom / m3u8

Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions
Other
1.98k stars 464 forks source link

The method of calculating absolute_uri may be confusing. Adding a custom calculation method may be better. #352

Closed xi-mad closed 6 months ago

xi-mad commented 6 months ago

The absolute_uri property in BasePathMixin may not meet everyone's calculation needs. Would it be better to add the following custom calculation method? image

bbayles commented 6 months ago

What is your use case?

xi-mad commented 6 months ago

Thank you for your reply. This is my mistake. I'm using another library that relies on m3u8, but it incorrectly sets the base_uri, leading me to believe there's an error in the m3u8 library's calculation.