Sujet : Re: Are there any simple BBC internet radio programs for the Pi?
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.sys.raspberry-piDate : 07. Sep 2024, 23:51:26
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbilde$1j26j$3@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.160 (Toresk; )
On Sat, 7 Sep 2024 10:48:36 +0100, The Natural Philosopher wrote:
On 07/09/2024 02:56, Computer Nerd Kev wrote:
>
If the Wikipedia page about M3U is accurate then the m3u8 file will
just be a text file including a URL to an audio stream. If it's an MP3
audio stream, then that can probably be copied manually to use with any
common command-line MP3 player (I use mpg123 or mpg321).
Unfortunately it doesn't work like that. I tried. For hours. It used to
when it was an icecast stream.
The players need the URL to the .m3u/.m3u8 file itself. Because the links
inside it are to segments of audio: typically 3 segments, being the
current 10 seconds, and the next two 10-second segments after that. So the
file needs to be repeatedly refetched to get updated segment URLs each
time.
Common players know how to do this.