I need to schedule the switch of an icecast source to another icecast
source once a day.  I think I see how to do that using the switch
command along with times and dates, but I'm missing a few things.
Here's what I currently do in a .liq file:

# I have an icecast source, "master"
master = mksafe(input.http("http://localhost:8000/master";))
# and at 10 pm each night, i need to switch to "alternate"
alternate = mksafe(input.http("http://localhost:8000/alternate";))

broadcast = switch([({ 0h-22h }, master), ({ 22h-0h }, alternate)])

#so, I have this:
output.icecast(%fdkaac(channels=2, samplerate=44100, sbr_mode=false,
aot="mpeg2_he_aac"),
        host = "localhost",
        port = 8000,
        password = "foobar",
        mount = "someaacmountpoint",
        description = "Master Radio",
        name = "Master Radio",
        format = "audio/aacp",
        icy_metadata="false",
        broadcast)

#but I also need to output the above output to a second output, but
with NO transcoding, I just need liquidsoap to act as a 'dynamic
icecast stream relay maker' , that simply relays source to
newmountpoint for the same time period. How do I do this?

output.icecast(WHATGOESHERE),
        host = "localhost",
        port = 8000,
        password = "foobar",
        mount = "someothermountpoint",
        description = "Master Radio",
        name = "Master Radio",
       icy_metadata="true",
        broadcast)


And part two:  For testing all this, if I run a second .liq script on
my server, will it affect the "production" script in any way, as long
as I don't monkey around with my production mount points? I don't have
another server to test on. Do each .liq script run their own instances
of liquidsoap?




I have to

Regards,

Nik

Nik Martin
Open Frame LLC
+1.251.272.9665

**Do not send PHI or information considered HIPAA sensitive to this
email address. Email is NOT a secure method of transferring PHI**

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to