Stream exists but silence is broadcasted need a solution to switch to another mountpoint
  • In brief this is the problem. We run a radiostation on the internet http ://radiopatapoe.nl:8000/patapoe. Sometimes we just broadcast silence. If that is the case i would like icecast to switch to mountpoints. A mountpoint has been defined as fallback mount . However, as the original mountpoint stays available a fallback never occurs. Any solution for this scenario?
  • 2 Comments sorted by
  • There is probably a way to make the stream shut off but I've not looked into it. I would do it this way:
    Find ls_script.liq, go down to about line 122 and this section

    default = amplify(id="silence_src", 0.00001, noise())
    default = rewrite_metadata([("artist","Airtime"), ("title", "offline")], default)
    ignore(output.dummy(default, fallible=true))

    This bit generates the silence. Comment out these three lines with # and add
    default = input.http(http://url.of.stream/mountpoint)

    Now whenever the radio is "offair" it will stream this url.
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    you can find on this forum a lot of ls_script.liq examples who describe this case, with a lot of solutions