[Icecast] relay mount URL

Ken Gillett kengroups at icloud.com
Sun May 9 10:12:52 UTC 2021


Yes indeed, it was the ‘&’. I knew it would be something like that, but it was late after a long day and obviously not thinking clearly, so apologies.

Thanks for that. I am now able to icecast the satellite radio feed, albeit still in mp2 which is no good for my needs, but I’m working on that.


Ken  G i l l e t t

_/_/_/_/_/_/_/_/



> On 8 May 2021, at 22:30, Marvin Scholz <epirat07 at gmail.com> wrote:
> 
> 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 <mailto:Icecast at xiph.org>
>> http://lists.xiph.org/mailman/listinfo/icecast <http://lists.xiph.org/mailman/listinfo/icecast>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org <mailto:Icecast at xiph.org>
> http://lists.xiph.org/mailman/listinfo/icecast <http://lists.xiph.org/mailman/listinfo/icecast>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20210509/4f7dded9/attachment.htm>


More information about the Icecast mailing list