Hi.
        Thanks for your time. I am running Ubuntu 10.04.2 LTS, with liquidsoap 
v0.9.2 loaded by apt-get install liquidsoap.

On running a simple script (which you may recognise :-) )
------8<----------------------------------------------
#!/usr/bin/liquidsoap
# Log dir
set("log.file.path","/tmp/basic-radio.log")

# Music
myplaylist = playlist("~/radio/music.m3u")
# Some jingles
jingles = playlist("~/radio/jingles.m3u")
# If something goes wrong, we'll play this
security = single("~/radio/sounds/default.ogg")

# Start building the feed with music
radio = myplaylist
# Now add some jingles
radio = random(weights = [1, 4],[jingles, radio])
# And finally the security
radio = fallback(track_sensitive = false, [radio, security])

  # Stream it out
output.icecast(%vorbis,
   host = "localhost", port = 8000,
   password = "hackme", mount = "basic-radio.ogg",
   radio)
-------8<----------------------------------------



The error I am getting is:

Line 20, char 17 before "%": Parse error.

Now, since this is a simple cut & paste from the web site, I expected the error 
to be due to extraneous characters.
Not so.

Interactively, I also get the same error from this snippet:

liquidsoap 'output.shoutcast(%mp3, \
                 host="localhost", port = 8000, \
                password = "changeme", \
                mksafe(playlist("playlist.m3u")))'

.e.g. Line 1, char 19 before "%": Parse error.


This would indicate to me a problem with the install rather than a problem with 
liquidsoap per se, and I was wondering if anybody 
could point me in the right direction?

So far I have searched the email list (there are several unanswered queries 
mentioning these "parse errors") and those that are 
answered do not appear to apply in my case, and googled.

Hoping the list members can help,

Thanks,
Shane Kelly



------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to