Hi!

Ok. It works. I've never seen this expression/conversion.

Anyway, now I get a source. This what I understant from this error message:
/this value has type
        source(_)
      but it should be a supertype of
        request(_)/
This happens at this lines:
/next_track_request = ((request.create(next_track_filename)):source(*+1,0,0))
     request_status = request.resolve(timeout = 2., next_track_request)/
So now request.resolve is useless.
And again, I can't get that metadata.

Regards,
Alexandru.

On 21.02.2012 22:13, David Baelde wrote:
Hi Alexandru,

Tricky issue. By default, requests are for stereo, unless the type
inference system sees that another type is needed. This holds for
streaming (request.dynamic, playlists, etc.) and also for manual
request manipulation (what you're experiencing). In the first case,
you may need conversions and sometimes some annotations to inform the
type system. In the latter case, type annotations seem to be the only
way... I'm disliking more and more this default type assignment, it
plays too many tricks on users.

You should be fine after replacing request.create(..) by
((request.create(..)):source(*+1,0,0)), which tells liquidsoap that
this request may contain any non-empty audio, including mono and
stereo.

Hope this helps,

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to