I just spent way too much time troubleshooting this, and it definitely looks
like a bug in liquidsoap, or perhaps something I've misconfigured that is not
obvious to me.
Here's the packet capture:
-->
GET /stream HTTP/1.0
Host: localhost:8000
User-Agent: Liquidsoap/1.0.1+scm (Unix; OCaml 3.11.2)
Icy-MetaData:1
<---
HTTP/1.0 200 OK
Content-Type: audio/mpeg
icy-br:128
icy-genre:bar
icy-name:ofoo
icy-pub:1
icy-url:foobar.com
Server: Icecast 2.3.2
Cache-Control: no-cache
icy-metaint:16000
...
So, I have confirmed that Icecast is providing the correct metadata, and it is
being supplied to liquidsoap's input.http, and liquidsoap is simply ignoring it.
The log shows this:
2013/04/26 21:41:31 [local-http:3] New metadata chunk: ? -- .
And on_metadata shows this:
{ "source_url": "http://localhost:8000/stream", "title": "" }
It's simply not even trying to pull the genre, name, url, or any of the other
metadata that Icecast is supplying.
What could be going on here?
-ken
--
--------
On Thu, Apr 25, 2013 at 08:38:21PM +0200, Samuel Mimram wrote:
> Hi,
>
> The metadata should be relayed in input.http streams. Do you have an
> example of a publicly available stream which exhibits the bug? Could you
> show us your script?
>
> Thanks!
>
> ++
>
> Sam.
>
>
> On Wed, Apr 24, 2013 at 8:19 AM, Ken Restivo <[email protected]> wrote:
>
> > I've got an input.http stream coming in, which I'm passing through to an
> > output.icecast.
> >
> > The stream coming in via http has metadata associated with it.
> >
> > However, the stream coming out does not use the metadata from the incoming
> > stream.
> >
> > I tried an on_track to capture the metadata coming in, but it looks like
> > [("source_url","http://foo.com:8000/stream"), ("title","")]
> >
> > Basically, nothing there.
> >
> > Is there any way to pass through the metadata from the input.http stream
> > to the output stream?
> >
> > Thanks.
> >
> > -ken
> >
> >
> > ------------------------------------------------------------------------------
> > Try New Relic Now & We'll Send You this Cool Shirt
> > New Relic is the only SaaS-based application performance monitoring service
> > that delivers powerful full stack analytics. Optimize and monitor your
> > browser, app, & servers with just a few lines of code. Try New Relic
> > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
> >
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users