There's a few things to try. First I see you are using a pre 1.1.0
Liquidsoap.

I would recommend compiling a new binary from source and testing that out
first. The good news is that the Liquidsoap team is very close to a 1.1.1
release, and I've been using this pre-release code and at the moment it
appears completely bug-free.

Here's a quick guide:
https://wiki.sourcefabric.org/display/CC/Building+Liquidsoap+from+Source

The latest snapshot has no problems with input.http metadata over here.

M


On Sat, Apr 27, 2013 at 12:59 AM, Ken Restivo <[email protected]> wrote:

> 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
>



-- 
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
Skype: martin.konecny15

http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
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

Reply via email to