Hi,
I'm getting a parse error message but I fail to see what's wrong with the
code:
"> /usr/local/etc/rc.d/liquidsoap start
Starting liquidsoap.
File "liquidsoap-mp3.liq", line 58, char 13 before "=": Parse error."
Code in question: (The second 'queue' is line 58)
sstol = request.queue
(queue=[
request.create("/usr/local/www/rcr/mp3/announce/SOD.mp3"),
request.create("/usr/local/www/rcr/radio/current/mp3/announce/opener/opener-sstol.mp3"),
request.create("/usr/local/www/rcr/radio/current/mp3/sstol/today/today-sstol-32.pls"),
request.create("/usr/local/www/rcr/mp3/announce/CLOSER.mp3"),
request.create("/usr/local/www/rcr/radio/current/mp3/sstol/today/sstol-mp3-end-32.pls")
])
scmp3 = crossfade(fallback([sstol,security]))
scmp3 = crossfade(start_next=0.7, fade_in=0.2,
fade_out=0.2, sstol)
Since I re-use this code for different queues, the same error message will
probably show up but for different lines.
****
Two more questions:
1. I have assumed that whitespace, tabs, and blank lines have no effect on
the code. Is this correct?
2. Earlier in the code, I had to comment out a line (track_sensitive) to
get a switch to work:
morning = switch (
# track_sensitive=true
[
({09h00-9h30), sstol
}
}
Why did I need to comment it out? What's the error? Should i be place
between the [ ]?
Thanks,
Andre
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users