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

m3u8 playlist urls not resolved #145

Closed
louis77 opened this issue Mar 22, 2022 · 2 comments
Closed

m3u8 playlist urls not resolved #145

louis77 opened this issue Mar 22, 2022 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@louis77
Copy link

louis77 commented Mar 22, 2022

hi @segler-alex

I reopen this issue because I get issues from users of Tuner (which I'm the developer of) that they cannot play stations which have a m3u8 playlist URL. Obviously these URLs don't get resolved by radio-browser.info:
louis77/tuner#84

This is one of the stations
https://www.radio-browser.info/history/ce14d522-526f-4143-8a15-7bc75e13c347

I've tried to find any reference in the radiobrowser repository about m3u8 playlist support but couldn't find one. Is this something that can be added/supported? More and more stations use the m3u8 playlist format.

@segler-alex
Copy link
Owner

m3u8 playlists are in other words HLS streams.
https://en.wikipedia.org/wiki/HTTP_Live_Streaming
they work differently than typical shoutcast-like streams which only have a single "endless" file/url you just open and play.
HLS incorporates playlist files into the protocol definition, this makes it possible for the player to select different qualitites of the same stream with a single master/ Multivariant playlist file
https://developer.apple.com/documentation/http_live_streaming/example_playlists_for_http_live_streaming/creating_a_multivariant_playlist
this main playlist files do then reference other playlist files that have themselfes links to parts of the stream (the "real" data)
as such an index as radiobrowser is not meant to use this files at all.
i do support it as much as i can as i mark HLS streams as beeing HLS so a player immediately knows from the entry it gets from radio-browser that it handling a HLS stream. I also plan to make HLS searchable (if you only want to select HLS streams , or only ones that are NOT HLS)
but the main part of decoding the HLS streams is meant to be done by the player.
i hope i managed to explain it well.

@segler-alex segler-alex self-assigned this Mar 22, 2022
@segler-alex segler-alex added the question Further information is requested label Mar 22, 2022
@louis77
Copy link
Author

louis77 commented Mar 23, 2022

Thank you for your remarks. I'll have to look into it then to make Tuner able to use m3u8 URLs directly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants