Deutsch   English   Français   Italiano  
<vbilde$1j26j$3@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Are there any simple BBC internet radio programs for the Pi?
Date: Sat, 7 Sep 2024 22:51:26 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <vbilde$1j26j$3@dont-email.me>
References: <q6c3qk-b211.ln1@q957.zbmc.eu>
	<h5aucjt478ln4h347qnu8ficcju7805tbu@joergwalther.my-fqdn.de>
	<r7o3qk-lp21.ln1@q957.zbmc.eu> <5b97a4929ebob@sick-of-spam.invalid>
	<vao8gp$3kv1h$1@dont-email.me> <vbdnp7$lt27$3@dont-email.me>
	<66dbb2d2@news.ausics.net> <vbh7hk$1afa2$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 08 Sep 2024 00:51:26 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="5b47ecd330ac087ccb2ea7289cdcbed3";
	logging-data="1673427"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/JhEvmufhiTIyiveyQr2vK"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:yDG3JkqHBpKurLTQw71hIWT+DkI=
Bytes: 2054

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.