Ok, what I did was set up a harbor  stream. here's my code with passwords 
changed of corse.

pasted.co/d63e0c67 <http://pasted.co/d63e0c67>.
> On May 26, 2015, at 3:22 PM, Detrick Merz <detr...@merzhaus.org> wrote:
> 
> In my case, I have a liquidsoap+icecast2 server. Liquidsoap presently
> uses an Internet stream as an input, and outputs to icecast. Nodes
> within my house connect to my local icecast server. When no nodes are
> connected it seems like it would be polite to also have Liquidsoap
> stop using the Internet stream as an input (since no humans are
> actually listening to the stream).
> 
> My thought would be something like switching to noise() or say(), or
> something else that doesn't access the disk repeatedly, whenever the
> number of listeners drops to 0. When at least one listener is
> connected, switch back to re-streaming the Internet stream.
> 
> On Tue, May 26, 2015 at 6:00 PM, Sarah k Alawami <marri...@gmail.com> wrote:
>> do you mean switch to an automation stream? or what. Can you  maybe give us 
>> an example of  what you want to do? Iv'e never heard of this but that does 
>> not mean it's not out there.
>> 
>> Take care.
>>> On May 26, 2015, at 2:06 PM, Detrick Merz <detr...@merzhaus.org> wrote:
>>> 
>>> Before I go trying to reinvent the wheel, does anyone have a code
>>> snippet that will default to noise() or something when the number of
>>> active listeners drops to 0? It seems like the json status that newer
>>> versions of icecast2 have should make this possible if I'm thinking
>>> about it right.
>>> 
>>> Thanks,
>>> 
>>> -detrick
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Savonet-users mailing list
>>> Savonet-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Savonet-users mailing list
>> Savonet-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> Savonet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to