Hi David,

Thanks for the tip!

Unfortunately, I do not have liquidsoap installed locally, so I have to
upload my little scripts and do it the hard way -- which can be very
annoying/frustrating and yet virtue-building (patience).

Hopefully, what you mean by *interactive* - I could enter the test script  
there
-- that would be great!

Just one question: is there anyway I can do a PHP-type 'preg_match' to
catch only the tail-end ('what_I_want.ogg') of something like:

/usr/local/www/rcr/radio/current/ogg/what_I_want.ogg

Btw, a big thank you for all your help with my script.
(I'm actually getting comfortable with ls scripting language :)
Andre





On Tue, 07 Dec 2010 15:57:07 -0500, David Baelde <[email protected]>  
wrote:

> Hi Andre,
>
> I just wanted to let you know that you can play with the language
> using "liquidsoap --interactive". It's always a good idea to find
> simple ways to experiment/learn instead of trying on a full script.
>
> For example:
>
> $ liquidsoap --interactive
> [...]
> # if true then if false then 2 else 3 else 4 ;;
> Exception: Parsing.Parse_error!
> # - : int = 4
> # if true then if false then 2 else 3 end else 4 end ;;
> - : int = 3
> #
>
> These are stupid expressions but it's a start, and it's a way to check
> the syntax. By the way, playing with --interactive is a good idea for
> myself too: I made a syntax error on purpose at first, but we see that
> liquidsoap "recovers" after the error (missing "end" after "else 3")
> and parsed and executed 4. I should fix that!
>
> Cheers,


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to