[Icecast] multiple instances? Updated

Thomas B. Rücker thomas at ruecker.fi
Mon Sep 9 19:48:27 UTC 2019


On 9/9/19 3:34 PM, wilderzone.radio.2 wrote:
> Hello, Thomas_B._Rücker,
> ======= At 2019-09-09, 08:36:43 you wrote: =======
>> I am not familiar with a file called "icecast_run.xml".
>> Could this be a local modification to your installation?
>> You should be able to check which one is used by opening the
>> "icecast.bat" file that you are using to start the server.
> aha!! You nailed it! I have no idea why but the package I downloaded months ago (Icecast v2.4.3)
> came with the batchfile premade and the actual configs seem to be this oddly named file... (I recall being confused as to why there would be TWO config files, but I've seen stranger things in the past so I editted both to reflect my needs...) 
> So here is the actual working config: 
> Now I don't see anywhere in which I can put the extra mount points 
> (nor do I recall a port designation for the 2nd stream mentioned at all tonight).

Yes, those fields are not included in your configuration file, but can
be inserted.
It's kind of arbitrary, but you could insert those <mount>…</mount>
sections/lines after the second </listen-socket> and before the <limits>

I *strongly* recommend to create a backup copy of the working config
file! It's easy to miss something and end up with Icecast refusing to start.

> <icecast>
> <hostname>wilder Zone</hostname>
> <location>My Wilderness</location>
> <admin>wilderzone.radio at gmail.com</admin>

So this line defines to which mountpoint a Shoutcast source client gets
> <shoutcast-mount>/rock</shoutcast-mount>

That's an implicit mount definition.
If you want to be able to use Shoutcast source clients for either mount,
then your configuration will have to change a bit.
It's described here:
If you need help with making those modifications, I'm sure there are
people on the mailing list who can lend a hand.

> <listen-socket>
>     <port>8080</port>
> </listen-socket>
> <listen-socket>
>    <port>8081</port>
>    <shoutcast-compat>1</shoutcast-compat>
> </listen-socket>
> <limits>
>    <clients>20</clients>
>     <sources>4</sources>
>     <queue-size>524288</queue-size>
>      <client-timeout>30</client-timeout>
>     <header-timeout>15</header-timeout>
>     <source-timeout>10</source-timeout>
>     <burst-on-connect>1</burst-on-connect>
>     <burst-size>65535</burst-size>
> </limits>
> <authentication>
> <source-password>NotaRealPassword</source-password>
> <relay-password>NotaRealPassword</relay-password>
> <admin-user>admin</admin-user>
> <admin-password>NotaRealPassword</admin-password>
> </authentication>
> <http-headers>
>     <header name="Access-Control-Allow-Origin" value="*"/>
> </http-headers>
> <fileserve>1</fileserve>
> <paths>
> <logdir>./log</logdir>
> <webroot>./web</webroot>
> <adminroot>./admin</adminroot>
> <alias source="/" destination="/status.xsl"/>
> </paths>
> <logging>
> <accesslog>access.log</accesslog>
> <errorlog>error.log</errorlog>
> <loglevel>3</loglevel>
> <logsize>10000</logsize>
> </logging>
> </icecast>



More information about the Icecast mailing list