Hi,

On Tue, Feb 24, 2009 at 10:16 AM, Mark V <[email protected]> wrote:
> This is a trivial variation on the QuickStart example script, it
> basically downloads the music, jingle and security files used by the
> script.

I like very much the idea of a purely standalone example that anyone
can run immediately. We didn't put one in the debian package, iirc...
because it's non-free (?). I must admit that in the back of my mind,
I'd be curious to look at the log of the files downloaded by the
example. Maybe we could at least put one/several in the tarball...
Anyway, let's look at your example.

Strictly speaking your script is not a _liq_ script. It's a shell
script that builds a liq script. I had to read it to check that it
wouldn't mess with my system. But I eventually ran it. First, it
failed to start liq because the password was not "hackme" here. Then,
it only played the buzzer because your script didn't create the
musicals playlist. More simply, I replaced that playlist by directly
using playlist("~/radio/musicals").

I edited a bit the script to make it really standalone. It doesn't
require any local playlist or directory now. It's just a quick script
however, with several problems: it doesn't use playlists but queues,
hence only plays each file once; also the buzzer is not failsafe
anymore, so I added a sine as an extra backup. The password is
expected on the command-line. Run it as follows (you get logs on
stdout with the first method):
 $ liquidsoap - -- pass < creation.liq
 $ liquidsoap creation.liq -- pass

> It also illustrates ogg vs mp3 quality - which was an ear-opener for me.

Yay vorbis! But... this benchmark is not really "independent" :)
-- 
David

Attachment: creation.liq
Description: Binary data

------------------------------------------------------------------------------
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

Reply via email to