Liquidsoap for attucks

Here's what I've got so far:


 * 1) !/usr/local/bin/liquidsoap

set("log.stdout", false) set("log.file.path", "/home/members/occupyboston/sites/radio.occupyboston.org/users/obradio/liquidsoap/ .log")
 * 1) General options
 * 1) set("init.daemon", true)
 * 2) set("init.daemon.pidfile.path", "/home/members/occupyboston/sites/radio.occupyboston.org/users/obradio/liquidsoap/liq.pid")

set("harbor.bind_addr","209.234.253.248") live = input.harbor("test-harbor", port=8000, password="######")
 * 1) Harbor
 * 2) Rather than catch a stream from a.stream.mayfirst.org, we'll start listening for a connection here.

rotation	= playlist("~/liquidsoap/rotation.pls") bumps		= playlist("~/liquidsoap/bumps.pls")
 * 1) Define our playlists

tech_problems	= single("~/liquidsoap/misc/tech_problems.ogg")
 * 1) Define special tracks
 * 2) live_start	= single("~/liquidsoap/misc/live_start.ogg")
 * 3) live_stop	= single("~/liquidsoap/misc/live_stop.ogg")

radio = fallback([ rotation, tech_problems ])
 * 1) Set non-live priorities

radio = smooth_add(normal=radio, special=switch([({0m0s or 15m0s or 30m0s or 45m0s},bumps)]))
 * 1) Timed bumps (they fade in over the normal stream)


 * 1) Catch live shows (disregard in favor of harbor)
 * 2) full = fallback(track_sensitive=false, [input.http("http://stream.occupyboston.org:8000/ob-live.ogg"), radio])

full = fallback(track_sensitive=false, [live, radio])
 * 1) If the live feed exists, use that.
 * 1) With transitions and blank detection (5 minutes) WIP
 * 2) full = fallback(track_sensitive=false, transitions=[], [strip_blank(length=300.,live), radio])

output.icecast(%vorbis, description="Occupy Boston Radio", genre="Revolution", host="stream.occupyboston.org", port=8000, password="######", mount="liq-test.ogg", full) output.icecast(%mp3, description="Occupy Boston Radio", genre="Revolution", host="stream.occupyboston.org", port=8000, password="######", mount="liq-test.mp3", full)
 * 1) Setup the outputs