[Icecast] Possible to combine relay settings with mountpoint settings?
Marvin Scholz
epirat07 at gmail.com
Fri Apr 17 15:05:02 UTC 2020
On 17 Apr 2020, at 16:51, Chip wrote:
> Hi
>
> Example relay settings as below:
>
> <relay>
> <server>127.0.0.1</server>
> <port>8001</port>
> <mount>/example.ogg</mount>
> <local-mount>/different.ogg</local-mount>
> <username>joe</username>
> <password>soap</password>
> <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
> <on-demand>1</on-demand></relay>
>
> Is it possible to add mount specific settings as follows:
>
> <relay>
> <server>127.0.0.1</server>
> <port>8001</port>
> <mount>/example.ogg</mount>
> <local-mount>/different.ogg</local-mount>
> <username>joe</username>
> <password>soap</password>
> <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
> <on-demand>1</on-demand>
> * <on-connect>/home/icecast/bin/source-start</on-connect>
> <on-disconnect>/home/icecast/bin/source-end</on-disconnect>* </relay>
>
> I suppose I could just try but I thought I would ask first.
>
> Many thanks
>
> Chip Scooter
No, but mount settings can always apply, no matter how the mount is created.
So you can just do:
<mount type="normal">
<mount-name>/different.ogg</mount-name>
<on-connect>/home/icecast/bin/source-start</on-connect>
<on-disconnect>/home/icecast/bin/source-end</on-disconnect>
</mount>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20200417/9ccddadd/attachment.htm>
More information about the Icecast
mailing list