sys: ubuntu hardy am64
liq: 0.9.2

the termination aggain happened when: a live harbor source has disconnected.

log and conf attached.

greetings
mccurly
#!/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)

-->> snip <<--
2010/02/23 23:54:18 [ogg.demuxer:4] Reached last page of logical stream ba7a3
2010/02/23 23:54:18 [ogg.demuxer:4] Found a ogg logical stream, serial: 96a16
2010/02/23 23:54:18 [ogg.demuxer:4] Trying ogg/vorbis format
2010/02/23 23:54:18 [src_5086:3] New metadata chunk "Frank Klepacki -- Ra3 Theme - Soviet March"
2010/02/23 23:54:22 [ogg.encoder:4] /rsb(dot)ogg: Setting end of track 41c392e.
2010/02/23 23:54:22 [ogg.encoder:4] /rsb(dot)ogg: Every ogg logical tracks have ended: setting end of stream.
2010/02/23 23:54:22 [ogg.encoder:4] /rsb(dot)ogg: Starting new sequentialized ogg stream.
2010/02/23 23:54:22 [ogg.encoder:4] /rsb(dot)ogg: Starting all streams
2010/02/23 23:54:22 [ogg.encoder:4] mitschnitt: Setting end of track 164bd469.
2010/02/23 23:54:22 [ogg.encoder:4] mitschnitt: Every ogg logical tracks have ended: setting end of stream.
2010/02/23 23:54:23 [ogg.encoder:4] mitschnitt: Starting new sequentialized ogg stream.
2010/02/23 23:54:23 [ogg.encoder:4] mitschnitt: Starting all streams
2010/02/23 23:57:00 [ogg.demuxer:4] Reached last page of logical stream 96a16
2010/02/23 23:57:00 [ogg.demuxer:4] Found a ogg logical stream, serial: 89d11
2010/02/23 23:57:00 [ogg.demuxer:4] Trying ogg/vorbis format
2010/02/23 23:57:00 [src_5086:3] New metadata chunk "Joseph Haydn -- Deutschlandlied"
2010/02/23 23:57:04 [ogg.encoder:4] /rsb(dot)ogg: Setting end of track 2a973667.
2010/02/23 23:57:04 [ogg.encoder:4] /rsb(dot)ogg: Every ogg logical tracks have ended: setting end of stream.
2010/02/23 23:57:04 [ogg.encoder:4] /rsb(dot)ogg: Starting new sequentialized ogg stream.
2010/02/23 23:57:04 [ogg.encoder:4] /rsb(dot)ogg: Starting all streams
2010/02/23 23:57:04 [ogg.encoder:4] mitschnitt: Setting end of track 3509b350.
2010/02/23 23:57:05 [ogg.encoder:4] mitschnitt: Every ogg logical tracks have ended: setting end of stream.
2010/02/23 23:57:05 [ogg.encoder:4] mitschnitt: Starting new sequentialized ogg stream.
2010/02/23 23:57:05 [ogg.encoder:4] mitschnitt: Starting all streams
2010/02/23 23:58:10 [src_5086:4] No network activity for 1 second(s).
2010/02/23 23:58:10 [src_5086:2] Feeding stopped: End_of_file
2010/02/23 23:58:10 [lang:1] WARNING: 'execute' is DEPRECATED and will be removed in future releases. You can use 'server.execute' instead.
2010/02/23 23:58:10 [threads:3] Thread "harbor source feeding" exited (1 remaining).
2010/02/23 23:58:10 [ogg.encoder:4] mitschnitt: Setting end of track 386f1afe.
2010/02/23 23:58:10 [ogg.encoder:4] mitschnitt: Every ogg logical tracks have ended: setting end of stream.
2010/02/23 23:58:13 [src_5086:4] End of track.
2010/02/23 23:58:13 [src_5086:4] Buffer emptied, starting buffering.
2010/02/23 23:58:13 [src_5092:3] Switch to src_5091 with forgetful transition.
2010/02/23 23:58:13 [src_5086:4] Activations changed: static=[mksafe:mitschnitt:mitschnitt], dynamic=[mksafe:mitschnitt:mitschnitt, src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:13 [source:4] src_5314 gets up
2010/02/23 23:58:13 [src_5091:4] Activations changed: static=[src_5314:src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:13 [src_5314:4] Activations changed: static=[src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[].
2010/02/23 23:58:13 [ogg.encoder:4] /rsb(dot)ogg: Setting end of track 13bfdd7e.
2010/02/23 23:58:13 [ogg.encoder:4] /rsb(dot)ogg: Every ogg logical tracks have ended: setting end of stream.
2010/02/23 23:58:13 [ogg.encoder:4] /rsb(dot)ogg: Starting new sequentialized ogg stream.
2010/02/23 23:58:13 [ogg.encoder:4] /rsb(dot)ogg: Starting all streams
2010/02/23 23:58:23 [src_5098:3] Switch to src_5072 with forgetful transition.
2010/02/23 23:58:23 [src_5096:4] Activations changed: static=[], dynamic=[src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:23 [source:4] src_5317 gets up
2010/02/23 23:58:23 [src_5072:4] Activations changed: static=[src_5317:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:23 [src_5317:4] Activations changed: static=[src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[].
2010/02/23 23:58:23 [decoder:4] Trying OGG decoder for "/path/musik/day/Emmon - Frenzy Eyes (Emmon Remix).mp3"...
2010/02/23 23:58:23 [src_5067:3] Switch to src_5065 with forgetful transition.
2010/02/23 23:58:23 [playlist(dot)lst:4] Activations changed: static=[src_5065:src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[src_5065:src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3, src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:23 [playlist(dot)lst:4] Disabling caching mode
2010/02/23 23:58:23 [src_5065:4] Activations changed: static=[src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:23 [jingles(dot)lst:4] Remaining: 0, queued: 1323000, taking: 1323000
2010/02/23 23:58:23 [ogg.demuxer:4] Found a ogg logical stream, serial: d903
2010/02/23 23:58:23 [ogg.demuxer:4] Trying ogg/vorbis format
2010/02/23 23:58:23 [jingles(dot)lst:3] Prepared "/path/jingles/intro.ogg" (RID 9).
2010/02/23 23:58:23 [playlist(dot)lst:5] Queue is empty!
2010/02/23 23:58:23 [playlist(dot)lst:5] Failed to prepare track: no file.
2010/02/23 23:58:23 [threads:1] Thread "root" aborts with exception File "sources/request_source.ml", line 115, characters 55-61: Assertion failed!
2010/02/23 23:58:23 [main:3] Shutdown started!
2010/02/23 23:58:23 [root:3] Shutting down sources...
2010/02/23 23:58:23 [source:4] output(dot)shoutcast(dot)mp3 gets down
2010/02/23 23:58:23 [output(dot)shoutcast(dot)mp3:3] Closing connection...
2010/02/23 23:58:23 [src_5098:4] Activations changed: static=[/rsb(dot)ogg:/rsb(dot)ogg, /rsb:/rsb], dynamic=[].
2010/02/23 23:58:23 [output(dot)shoutcast(dot)mp3:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [source:4] /rsb gets down
2010/02/23 23:58:23 [/rsb:3] Closing connection...
2010/02/23 23:58:23 [src_5098:4] Activations changed: static=[/rsb(dot)ogg:/rsb(dot)ogg], dynamic=[].
2010/02/23 23:58:23 [src_5098:4] Disabling caching mode
2010/02/23 23:58:23 [/rsb:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [source:4] /rsb(dot)ogg gets down
2010/02/23 23:58:23 [ogg.encoder:4] /rsb(dot)ogg: Setting end of track 343b6fb1.
2010/02/23 23:58:23 [ogg.encoder:4] /rsb(dot)ogg: Every ogg logical tracks have ended: setting end of stream.
2010/02/23 23:58:23 [/rsb(dot)ogg:3] Closing connection...
2010/02/23 23:58:23 [source:4] src_5098 gets down
2010/02/23 23:58:23 [source:4] src_5096 gets down
2010/02/23 23:58:23 [src_5094:4] Activations changed: static=[src_5094], dynamic=[].
2010/02/23 23:58:23 [src_5096:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5072:4] Activations changed: static=[src_5317:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[].
2010/02/23 23:58:23 [source:4] src_5063 gets down
2010/02/23 23:58:23 [src_5063:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [source:4] src_5317 gets down
2010/02/23 23:58:23 [source:4] src_5072 gets down
2010/02/23 23:58:23 [source:4] src_5070 gets down
2010/02/23 23:58:23 [source:4] src_5069 gets down
2010/02/23 23:58:23 [source:4] jingles(dot)lst gets down
2010/02/23 23:58:23 [jingles(dot)lst:4] Waiting for feeding task to stop...
2010/02/23 23:58:23 [stderr:3] Thread 4 killed on uncaught exception Assert_failure("sources/request_source.ml", 115, 55)
2010/02/23 23:58:23 [decoder:4] Trying WAV decoder for "/path/musik/day/Emmon - Frenzy Eyes (Emmon Remix).mp3"...
2010/02/23 23:58:23 [format.wav:5] open "/path/musik/day/Emmon - Frenzy Eyes (Emmon Remix).mp3"
2010/02/23 23:58:23 [format.wav:5] Could not decode file.
2010/02/23 23:58:23 [decoder:4] Trying MP3 decoder for "/path/musik/day/Emmon - Frenzy Eyes (Emmon Remix).mp3"...
2010/02/23 23:58:23 [format.mp3:5] open "/path/musik/day/Emmon - Frenzy Eyes (Emmon Remix).mp3"
2010/02/23 23:58:23 [format.mp3:5] close "/path/musik/day/Emmon - Frenzy Eyes (Emmon Remix).mp3"
2010/02/23 23:58:23 [decoder:3] Decoder MP3 chosen for "/path/musik/day/Emmon - Frenzy Eyes (Emmon Remix).mp3".
2010/02/23 23:58:23 [playlist(dot)lst:4] Remaining: 0, queued: 0, adding: 1323000 (RID 10)
2010/02/23 23:58:23 [jingles(dot)lst:3] Finished with "/path/jingles/intro.ogg".
2010/02/23 23:58:23 [jingles(dot)lst:4] Cleaning up request queue...
2010/02/23 23:58:23 [jingles(dot)lst:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5069:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5067:4] Activations changed: static=[src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[].
2010/02/23 23:58:23 [source:4] src_5067 gets down
2010/02/23 23:58:23 [playlist(dot)lst:4] Activations changed: static=[src_5065:src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[src_5065:src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:23 [src_5065:4] Activations changed: static=[src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[].
2010/02/23 23:58:23 [source:4] src_5065 gets down
2010/02/23 23:58:23 [source:4] playlist(dot)lst gets down
2010/02/23 23:58:23 [playlist(dot)lst:4] Waiting for feeding task to stop...
2010/02/23 23:58:23 [playlist(dot)lst:3] Finished with "/path/musik/night/Antarhes - She Told me.ogg".
2010/02/23 23:58:23 [playlist(dot)lst:4] Cleaning up request queue...
2010/02/23 23:58:23 [playlist(dot)lst:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [playlist(dot)lst:4] Activations changed: static=[src_5065:src_5067:src_5070:src_5072:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[].
2010/02/23 23:58:23 [source:4] playlist(dot)lst gets down
2010/02/23 23:58:23 [playlist(dot)lst:4] Waiting for feeding task to stop...
2010/02/23 23:58:23 [playlist(dot)lst:4] Cleaning up request queue...
2010/02/23 23:58:23 [playlist(dot)lst:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5065:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5067:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5070:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5072:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5317:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5098:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [/rsb(dot)ogg:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [source:4] mitschnitt gets down
2010/02/23 23:58:23 [source:4] mksafe gets down
2010/02/23 23:58:23 [src_5086:4] Activations changed: static=[mksafe:mitschnitt:mitschnitt], dynamic=[src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:23 [source:4] safe_blank gets down
2010/02/23 23:58:23 [safe_blank:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5086:4] Activations changed: static=[], dynamic=[src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3].
2010/02/23 23:58:23 [src_5086:4] Disabling caching mode
2010/02/23 23:58:23 [mksafe:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [mitschnitt:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [source:4] src_5094 gets down
2010/02/23 23:58:23 [source:4] src_5092 gets down
2010/02/23 23:58:23 [source:4] src_5086 gets down
2010/02/23 23:58:23 [src_5086:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5091:4] Activations changed: static=[src_5314:src_5092:src_5094:src_5096:src_5098:output(dot)shoutcast(dot)mp3:output(dot)shoutcast(dot)mp3], dynamic=[].
2010/02/23 23:58:23 [source:4] src_5314 gets down
2010/02/23 23:58:23 [source:4] src_5091 gets down
2010/02/23 23:58:23 [src_5091:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5314:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5092:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [src_5094:4] Activations changed: static=[], dynamic=[].
2010/02/23 23:58:23 [main:3] Waiting for threads to terminate...
2010/02/23 23:58:23 [main:3] Cleaning downloaded files...
2010/02/23 23:58:23 >>> LOG END
2010/02/23 23:59:02 >>> LOG START
2010/02/23 23:59:02 [protocols.external:3] Didn't find "ufetch"
2010/02/23 23:59:02 [protocols.external:3] Found "/usr/bin/wget"
2010/02/23 23:59:02 [main:3] Liquidsoap 0.9.2
-->> snap <<--
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to