Hello,
I noticed that some commands via the Liquidsoap server interface allow
multiple parameters.
| queue.insert <pos> <uri>
| queue.move <rid> <pos>
I'm trying to see if I can get this behaviour as well, but so far no such
luck:
> server.register(namespace="dynamic_source",
> description="Start a new dynamic source.",
> usage="start <uri> <id>",
> "read_start",
> fun (url, id) -> begin log("dynamic_source.read_start")
> create_dynamic_source(url) end)
>
Liquidsoap output:
>
> At line 102, char 17-102:
> this value has type
> (_,_)->_
> but it should be a subtype of
> (_)->string
Is there some special trick? :)
Martin
--
Open source radio in the cloud. Get yours now! ---> http://airtime.pro
Martin Konecny
Software Developer, Sourcefabric
[email protected]
720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15
http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users