Hi Guys, I'm having some dramas with liquidsoap (on ubuntu 12.04) only
playing one jingle on startup and then never playing another one until I
restart it. Can anyone see what I've done wrong here?

#!/usr/bin/liquidsoap

# Log dir
set("log.file.path","/home/user/log/backyard-radio.log")

# Music
musicplaylist =
playlist(mode='randomize',reload=1,reload_mode="rounds","/home/users/Music")

# Start building the feed with music
radio = smart_crossfade(musicplaylist)

# Some jingles
jingles =
playlist(mode='randomize',reload=1,reload_mode="rounds","/home/users/StationID")

# If something goes wrong, we'll play this
security = single("/home/users/live/broken.mp3")

#the security
radio = fallback( track_sensitive = false, [radio, security] )

#nominalize on the fly
radio = amplify(1.,override="replay_gain",radio)
#radio = normalize( radio )

radio=mksafe( radio )

# Now add some jingles
radio = rotate(weights=[1,3],[jingles, radio])

# Stream it out as 160kbps
output.icecast(%mp3(bitrate=160, samplerate=44100),
  host = "localhost", port = 8000,
  description = "Radio!",
  name = "Radio!",
  url = "",
  public = false,
  user = "source", password = "*******", mount = "listen.mp3",
  radio )

Thanks

Bj
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to