[Icecast] relay mount URL

Marvin Scholz epirat07 at gmail.com
Sat May 8 21:30:50 UTC 2021


Hi,

On 8 May 2021, at 21:55, Ken Gillett wrote:

> I’ve been able to stream from a satellite feed, via a SAT>IP server 
> to VLC and also to an IP radio player that supports mp2 file format. 
> However, I cannot use that URL as a relay mount in Icecast:-
>
> 	<server>servername</server>
> 	<port>8080</port>
> 	<mount>/?&freq=10802.75&pol=h&msys=dvbs&sr=22000&pids=0,265,6301</mount>
>
> which is actually BBC Radio 2 from FreeSAT in the UK.
>
> As I said, this URL works perfectly for players, but Icecast complains 
> on startup:-
>
> 	/etc/icecast2/icecast.xml:178: parser error : EntityRef: expecting 
> ';'
> 	<mount>/?freq=10802.75&pol=h&msys=dvbs&sr=22000&pids=0,265,6301
>

As the Icecast config is standard XML format, you need to properly 
escape characters
that have special meaning for XML (in this case the &), so IIRC it 
should be escaped
like so:

/?&freq=10802.75&pol=h&msys=dvbs&sr=22000&pids=0,265,6301

> 	                                 		^
>
> It obviously objects to the URL having those ‘=‘ characters in the 
> mount. There’s an error for each one (^ in different place).
>
> Is there any way I can encode this URL as a mount for a relay, or is 
> Icecast unable to deal with a URL like this?
>
>
>
> Ken  G i l l e t t
>
> _/_/_/_/_/_/_/_/
>
>
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast


More information about the Icecast mailing list