Well same problem exists as of today's git 1.1.0+scm 3c63f2d. This is very 
frustrating. I might have to hack up something external to liquidsoap that 
pulls the metadata out of the http headers (curl -I should work), and then 
hands it to liquidsoap, triggered from the on_metadata via system.

Basically, the icy-stuff is being ignored by input.http streams. I have no idea 
why.

-ken
--
--------
On Sun, Apr 28, 2013 at 01:31:16PM -0400, Martin Konečný wrote:
> 1.1.0 had a a critical bug. When 1.1.1 is available, Sourcefabric will put
> up .debs
> 
> 
> On Sun, Apr 28, 2013 at 1:26 PM, Ken Restivo <[email protected]> wrote:
> 
> > I'm using Debian, with this in my sources.list:
> >
> > deb http://apt.sourcefabric.org/ squeeze main
> >
> > I tried apt-get update and apt-get upgrade, and I'm still getting this old
> > binary (1.0.1+scm) of liquidsoap.
> >
> > If 1.1.0 has been shipping for a while, and 1.1.1 is imminent, why would
> > the official sourcefabric.org repo serve up 1.0.1+scm instead?
> >
> > I'd rather not build from source and install all the build-deps on this
> > box (it's a VPS), if possible.
> >
> > -ken
> > --
> > ----
> > On Sat, Apr 27, 2013 at 10:51:35AM -0400, Martin Konečný wrote:
> > > 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
> >
> >
> >
> > ------------------------------------------------------------------------------
> > 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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to