Bug 470884 - Elisa player can't play playlist radio streams (.pls, .m3u)
Summary: Elisa player can't play playlist radio streams (.pls, .m3u)
Status: CONFIRMED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-10 20:09 UTC by Dave
Modified: 2023-09-03 15:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2023-06-10 20:09:32 UTC
SUMMARY
Several internet radio stations offer a playlist file as the resource used to tune to their stream. These are unusable in Elisa at the moment.

Streams that I have confirmed work with Elisa come in the form of MPEG ADTS

> checking the file format of a stream saved to disk
$ curl -o out 'https://radiointernet.co:7000'
$ file out
out: MPEG ADTS, layer III, v1, 32 kbps, 44.1 kHz, JntStereo

Streams that do not work with Elisa are playlists

$ curl -o airout 'http://airspectrum.cdnstream1.com:8114/1648_128.m3u'
$ file airout
airout: ASCII text, with CRLF line terminators

>airout content
http://airspectrum.cdnstream1.com:8114/1648_128

$ curl -o pls 'http://79.98.108.170:8117/listen.pls?sid=1'
$ file pls
pls: PLS playlist, ASCII text

>pls content
[playlist]
NumberOfEntries=1
File1=http://79.98.108.170:8117/stream
Title1=Extreme Deep House Radio
Length1=-1
Version=2%

If you manually add the url of the internal playlist entry, now you can play that radio station.

STEPS TO REPRODUCE
1. Add the following radio stations to Elisa:

http://airspectrum.cdnstream1.com:8114/1648_128.m3u
http://79.98.108.170:8117/listen.pls?sid=1
https://radiointernet.co:7000

2. Play each added radio station.play in Elisa.

OBSERVED RESULT
Elisa should not be able to play the first two radio stations. The last radio station should work fine. If you extract the real audio streams out of the playlists, you should be able to stream them with Elisa.

EXPECTED RESULT
Elisa plays all of the most common radio stream formats (playlist or pure audio stream) out of the box.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9