sys: ubuntu hardy am64
liq: 0.9.2
hi,
i can't find out, why our liq terminated today, here is the snippet from
the logfile:
[snip]
2010/02/16 22:02:47 [mksafe:4] Activations changed: static=[], dynamic=[].
2010/02/16 22:02:47 [mitschnitt:4] Activations changed: static=[],
dynamic=[].
2010/02/16 22:02:47 [source:4] src_5094 gets down
2010/02/16 22:02:47 [source:4] src_5092 gets down
2010/02/16 22:02:47 [source:4] src_5086 gets down
2010/02/16 22:02:47 [src_5086:4] Activations changed: static=[], dynamic=[].
2010/02/16 22:02:47 [src_5091:4] Activations changed:
static=[src_5271:src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot...
2010/02/16 22:02:47 [source:4] src_5271 gets down
2010/02/16 22:02:47 [source:4] src_5091 gets down
2010/02/16 22:02:47 [src_5091:4] Activations changed: static=[], dynamic=[].
2010/02/16 22:02:47 [src_5271:4] Activations changed: static=[], dynamic=[].
2010/02/16 22:02:47 [src_5092:4] Activations changed: static=[], dynamic=[].
2010/02/16 22:02:47 [src_5094:4] Activations changed: static=[], dynamic=[].
2010/02/16 22:02:47 [main:3] Waiting for threads to terminate...
2010/02/16 22:02:47 [main:3] Cleaning downloaded files...
2010/02/16 22:02:47 >>> LOG END
2010/02/16 22:03:02 >>> LOG START
2010/02/16 22:03:02 [protocols.external:3] Didn't find "ufetch"
2010/02/16 22:03:02 [protocols.external:3] Found "/usr/bin/wget"
2010/02/16 22:03:02 [main:3] Liquidsoap 0.9.2
2010/02/16 22:03:02 [lang:3] flac binary not found: flac decoder disabled.
2010/02/16 22:03:02 [lang:3] metaflac binary not found: flac metadata
resolver disabled.
[snap]
our configfile is attached.
#!/usr/local/bin/liquidsoap
set("log.file.path","/path/log.log")
set("log.file",true)
set("log.level",5)
set("log.stdout",false)
set("init.daemon.pidfile",true)
set("init.daemon.pidfile.path","/path/my.pid")
set("harbor.password.verbose",false)
set("harbor.bind_addr","xxx.xxx.xxx.xxx")
set("harbor.port",9000)
set("server.telnet",true)
set("server.telnet.port",9001)
set("server.telnet.bind_addr","127.0.0.1")
day = playlist(mode = "randomize", reload = 1, reload_mode="rounds",
"/path/musik/day/playlist.lst")
night= playlist(mode = "randomize", reload = 1, reload_mode="rounds",
"/path/musik/night/playlist.lst")
jingles = playlist(mode = "randomize", reload = 1, reload_mode="rounds",
"/path/jingles/jingles.lst")
security = single("/path/intro/intro.ogg")
nightmix = random(weights = [1, 2],[night, day])
radio = switch([({ 6h-22h }, day),({ 22h-6h }, nightmix)])
radio = random(weights = [1, 4],[delay(1.,jingles), radio])
radio = rewrite_metadata([("title","$(title) (Radio
Name)"),("comment","$(comment)")],radio)
def mitschnitt_start(haeder) =
ignore(execute("mitschnitt.start"))
source.skip(radio)
end
def mitschnitt_stop() =
ignore(execute("mitschnitt.stop"))
radio = rewrite_metadata([("title","$(title) (Radio
Name)"),("comment","$(comment)")],radio)
end
def auth(login,password) =
ret = get_process_lines("/path/scripts/liqauth.sh #{login} #{password}")
ret = list.hd(ret)
if ret == "true" then
true
else
false
end
end
live = input.harbor( buffer=10., max=20., auth = auth,
on_connect=mitschnitt_start, on_disconnect=mitschnitt_stop, "/live.ogg" )
rec = mksafe(live)
live = fallback(track_sensitive = false, [live,blank()])
live = strip_blank(length=10.,live)
live = rewrite_metadata([("title","$(title) (Radio
Live)"),("comment","$(comment)")],live)
radio = fallback(track_sensitive = false, [live, radio, security])
output.file.vorbis.cbr(
id = "mitschnitt",
samplerate = 44100,
stereo = true,
bitrate = 64,
start = false,
append = true,
reopen_on_metadata = false,
"/path/musik/livemitschnitt/" ^ '%Y-%m-%d_%H-%M-%S' ^ ".ogg",
rec)
output.icecast.vorbis.cbr(
samplerate = 44100,
stereo = true,
restart = true,
host = "xxx.xxx.xxx.xxx",
port = 80,
password = "pass",
mount = "/rsb.ogg",
radio, bitrate=64)
output.icecast.mp3(
restart = true,
mount = "/rsb",
samplerate = 44100,
bitrate = 128,
host = "xxx.xxx.xxx.xxx",
port = 80,
password = "pass",
radio)
output.shoutcast.mp3(
restart = true,
host = "xxx.xxx.xxx.xxx",
port = 8000, password="pass",
genre = "Rock",
url = "http://url.tld",
description = "Radio Name",
public = true, name = "Radio Name ShoutCast Stream",
samplerate = 44100, bitrate = 128,
stereo = true,
radio)
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users