hi romain,

thanks again! have applied your patch and seems to work fine!! :) 
had to change the mktemp as it somehow behaves different on my debian (no 
--suffix option). not sure if i broke something with this, i get 
[request:2] Unlink failed: "Unix.Unix_error(20, \"unlink\", 
\"annotate:liq_start_next=\\\"5\\\",liq_fade_in=\\\"5\\\",liq_fade_out=\\\"5\\\":/tmp/liqTuTP\")"

the file /tmp/liqTuTP exists.. but i'm quite optimistic il figure out.

thx jonas

On Mar 22, 2010, at 12:00 , Romain Beauxis wrote:

> Le dimanche 21 mars 2010 17:47:01, Romain Beauxis a écrit :
>> The bad thing is that we loose track of the intermediate request
>> resolution  log. A possible solution is to add an extra parameter for the
>> protocol registration, which allows to pass a log along with the new
>> indicators..
> 
> In fact it is more tricky.. We will also loose the intermediate stuff, like 
> annotate.. A possible solution is then to return the remaining part, 
> substituting the last part with our temporary file. This gives:
> 
> request.trace 0
> [2010/03/21 17:56:20] Pushed 
> ["cut_file:cut_start=2,cut_stop=45:annotate:bli=\"bla\":/tmp/bla.ogg";...].
> [2010/03/21 17:56:20] Resolving 
> "cut_file:cut_start=2,cut_stop=45:annotate:bli=\"bla\":/tmp/bla.ogg" (timeout 
> 20s)...
> [2010/03/21 17:56:20] Pushed ["annotate:bli=\"bla\":/tmp/liq8D7O.osb";...].
> [2010/03/21 17:56:20] Resolving "annotate:bli=\"bla\":/tmp/liq8D7O.osb" 
> (timeout 20s)...
> [2010/03/21 17:56:20] Pushed ["/tmp/liq8D7O.osb";...].
> [2010/03/21 17:56:20] Currently on air.
> 
> However, in this case, the temporary file will not be removed because 
> liquidsoap thinks it is "annotate:bli=\"bla\":/tmp/liq8D7O.osb"...
> 
> And it becomes a bit too hacky.. :-)
> 
> The attached patch updates the previous one with this idea..
> 
> Romain
> <cut_file.patch>------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev_______________________________________________
> Savonet-devl mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-devl


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à