Hey all,
I'm trying to get a basic liquidsoap instance up and running, and am
running into a problem that I can't solve.
Here is my .liq script:
---
#!/usr/bin/liquidsoap
# Log dir
set("log.file.path","/var/log/liquidsoap/liquidsoap.log")
# *****************************************************
# Music
myplaylist = playlist("/srv/music")
# Some jingles
jingles = playlist("/srv/jingles")
# Commercials
# commercials = playlist("/srv/commercials")
# If something goes wrong, we'll play this
security = single("/srv/default.ogg")
# *****************************************************
# Start building the feed with music
radio = myplaylist
# Now add some jingles
# ** UNCOMMENT WHEN YOU HAVE A JINGLE ** radio = random(weights = [1,
4],[jingles, radio])
# And finally the security
radio = fallback(track_sensitive = false, [radio, security])
output.icecast(%vorbis,
host = "localhost", port = 8000,
password = "***REMOVED***", mount = "radio.ogg",
radio)
# EOF
---
Now when I try to run it:
-----
# ./radio.liq
Line 32, char 17 before "%": Parse error.
-----
I've seen tons of these errors while googling, but none of them seem to
pertain to me. Can anyone shed light on this? I'm running Debian Squeeze
(all current updates) and liquidsoap 0.9.2-3+b1 (from package archives).
Cheers,
Jordan
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users