Salut,
On Tue, Feb 17, 2009 at 5:36 PM, Pascal Vanbel
<[email protected]> wrote:
> I've just switch our radio (University Radio In Namur, Belgium,www.run.be ) to
> LiquidSoap and it works just fine.
Good to hear!
> bcc = playlist.once("/mp3/BCC")
> when I try liquidsoap --check myscript.liq, I get an error message
>
> >>>>> Line 33, char 25 before ")": Unbound symbol playlist.once!
>
> It works when I do playlist("/mp3/BCC")
>
> First, If I use playlist() instead of playlist.once(), I'm afraid the
> fisrt part might play a second time if the total time is less than an hour
That is either because:
- you have a too old liquidsoap, or
- your liquidsoap is not properly installed and doesn't find its
utils.liq library.
I'm not sure in which version playlist.once() was introduced. To
check, you must find your utils.liq file: it is usually in
/usr/lib/liquidsoap/VERSION/utils.liq, maybe a different prefix
depending on your installation. In the SVN and tarball, utils.liq is
in liquidsoap/scrtips.
When you find it, you can check if playlist.once occurs in it. If so,
it just means that liquidsoap doesn't find it, because it looks at the
wrong place. You can fix that by (recompiling and) reinstalling
properly. Or simply by running "liquidsoap /path/to/utils.liq
/path/to/your/script.lilq" to explicitly load utils before your
script.
> Second, do I using right the append() function to insert jingles
> between the parts ?
Yes, your use of append is correct. You can also use a random() node
with in strict mode to achieve the same result.
Hope that helps,
--
David
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users