M3u8 HLS radio streams not working

Hello!

I would like to stream these radio streams: https://www.supla.fi/live
They all seem to use m3u8 playlists. There are two stream url in the stream (one of the streams) when inspecting with chrome browser:

master.m3u8 --> #https://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master.m3u8
master-128000 --> #https ://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master-128000.m3u8

Both links works in VLC but they do not seem to be playable in mopidy (Home assistant addon) nor chromecast (Home assistant).

Here is the log when pasting the first url to moped and pressing play:

(python:32): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
WARNING  Download of 'master-128000.m3u8' failed: Invalid URL 'master-128000.m3u8': No schema supplied. Perhaps you meant http://master-128000.m3u8?
INFO     Unwrapping stream from URI (https ://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master.m3u8) failed: error downloading URI master-128000.m3u8
WARNING  Track is not playable: https ://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master.m3u8
INFO     No playable track in the list.

And the second url:

(python:32): GStreamer-CRITICAL **: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed
WARNING  Download of '01499/seg128000-02997463.aac' failed: Invalid URL '01499/seg128000-02997463.aac': No schema supplied. Perhaps you meant http://01499/seg128000-02997463.aac?
INFO     Unwrapping stream from URI (https ://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master-128000.m3u8) failed: error downloading URI 01499/seg128000-02997463.aac
WARNING  Track is not playable: https ://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master-128000.m3u8
INFO     No playable track in the list.

If I paste the first addres to chrome browser, it downloads m3u8 file containing these lines:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
## Created with Z/IPStream R/2 v1.03.23
#EXT-X-STREAM-INF:BANDWIDTH=137315,CODECS="mp4a.40.2"
master-128000.m3u8

And the second file:

#EXTM3U
#EXT-X-VERSION:3
## Created with Z/IPStream R/2 v1.03.23
#EXT-X-MEDIA-SEQUENCE:2997421
#EXT-X-TARGETDURATION:6
#EXT-X-PROGRAM-DATE-TIME:2018-10-24T09:10:04Z
#EXTINF:5.99, no desc
01499/seg128000-02997421.aac
#EXTINF:5.99, no desc
01499/seg128000-02997422.aac
#EXTINF:5.99, no desc
01499/seg128000-02997423.aac
#EXTINF:5.99, no desc
01499/seg128000-02997424.aac
#EXTINF:5.99, no desc
01499/seg128000-02997425.aac
#EXTINF:5.99, no desc
01499/seg128000-02997426.aac

I added them to share/mopidy/playlists but they don’t work.

I would really like to get the stream work since this is the only stream for this radio channel. Any help is appreciated. Thank you in advance!

Does anybody have any solution?

I would still like to play this radio stream: https://digitacdn.akamaized.net/hls/live/629243/radiosuomipop/master-128000.m3u8

It seems to be hls stream and the file type is .m3u8. Link works in VLC.

Thank you!

Up.

I would really like to get this working.

Thank you

I’m having the same issue with all my radio stations (they made some change lately which caused it to stop working). from VLC it plays normally. this is one station with this problem: http://gb25.streamgates.net/radios-audio/100Cafe/playlist.m3u8
anything new about this?

As far as I’m aware Mopidy doesn’t have support for m3u8 playlists right now. You’ll probably need to create a new extension that wraps a library like this:

M3u8 playlist support should be handled by Mopidy-M3u today. HLS stream support is a bit tricky if I remember correctly and needs to be in either Mopidy Core (audio layer) or Mopidy-Stream.