From: David B. <dav...@gm...> - 2010-06-20 04:47:45
|
On Tue, Jun 15, 2010 at 2:36 PM, kosnickx <kos...@gm...> wrote: > i saw that frequently there are GET requests to liquidsoap Where did you see that? Wiresharking a liquidsoap running harbor? > i believe it has to do with "asking for metadata" > so i was wondering > is there any way i can have these information in a browser ? > (by information i am interested mainly in arting/songname/start > time/duration) In any case, those GET cannot be used to obtain the current metadata or most information that you'd want to see. For this, use the standard trick: a on_metadata or on_track handler that refreshes a XML file with the info (possibly calling an external script which connects to telnet, probably more convenient) and then load the XML using AJAX in a HTML page. HTH David |