M3u8 radio streams not working


#1

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!