Ok, we're almost done here, close to a solution...

On Tue, Feb 21, 2012 at 1:39 AM, John Paul Morrison
<[email protected]> wrote:
> At line 18, char 41:
>   this value has type
>     ()->_ (infered at line 8 char 1 - line 11 char 3)
>   but it should be a subtype of
>     (headers:_,...)->_

The type error tells you that your event handler accepts no argument
while it is expected to take at least one arg under the label
"headers". Please check the doc (liquidsoap -h output.harbor at least)
for the full list of expected arguments, and include them as args of
your function even if you don't use them.

> And are source.init() and shutdown the right way to stop/start the input
> http stream?

No, you need to use the start/stop server commands, the ones available
through telnet or server.execute(). The init/shutdown thing is too
advanced and tricky, say away from it for now ;)

Cheers,
-- 
David

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to