Le jeudi 25 novembre 2010 12:28:10, Romain Beauxis a écrit :
> > input.harbor has on_connect/on_disconnect options that is called at each
> > connection with all the received headers. Maybe you can use it to hook up
> > your own stats.xml ?
>
> Additionally, I can think of adding an operator that would register a
> particular page to serve, something like:
>
> harbor.register("status.xml",(fun (_) -> "<html>...</html>"))
>
> That way, you could implement whatever you need for the harbor..
> Using on_connect/on_disconnect, you should even be able to do it in the
> liquidsoap script..
Sorry it seems its my noisy day :)
If you want to mirror the stats from icecast, then you can implement a script
that fetches the page's sources and print them and use the script to serve the
data on the harbor with the proposed function..
If no one objects, I can add the function pretty soon, its not very difficult
to
add.
Romain
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users