Hi, 2013/10/15 Vahldieck, Mike <[email protected]>: > I'm trying to use the example "Get metadata" from > http://savonet.sourceforge.net/doc-svn/harbor_http.html > Within my radio.liq I have > %include "/path/to/getmeta.liq" > s = on_metadata(update_meta,s) > harbor.http.register(port=7000,method="GET","/getmeta",get_meta) > > Within getmeta.liq I have > def update_meta(m) = ... > def get_meta(~protocol,~data,~headers,uri) = .... > > I get the following error: > cannot apply that parameter because the function (at > /path/to/getmeta.liq, line 42, char 21) has no argument labeled > "method"! > > I've been browsing and trying around all evening, but can't find a > solution.
I think that "method" was added in liquidsoap 1.1.1. If you have an older version, you may want to look at its specific documentation, e.g.: http://liquidsoap.fm/doc-1.0.0/harbor_http.html Romain ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
