Le dimanche 21 mars 2010 18:00:48, Romain Beauxis a écrit :
> 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.. :-)

There is a solution for that as well !

We could create a tmp: protocol:

# Register the tmp protocol
def tmp_protocol(arg,delay) =
  [arg]
end
add_protocol("tmp", temporary=true, tmp_protocol)


And then get:

[2010/03/21 18:03:16] Pushed 
["cut_file:cut_start=2,cut_stop=45:annotate:bli=\"bla\":/tmp/bla.ogg";...].
[2010/03/21 18:03:16] Resolving 
"cut_file:cut_start=2,cut_stop=45:annotate:bli=\"bla\":/tmp/bla.ogg" (timeout 
20s)...
[2010/03/21 18:03:17] Pushed ["annotate:bli=\"bla\":tmp:/tmp/liqUmZu.osb";...].
[2010/03/21 18:03:17] Resolving "annotate:bli=\"bla\":tmp:/tmp/liqUmZu.osb" 
(timeout 20s)...
[2010/03/21 18:03:17] Pushed ["tmp:/tmp/liqUmZu.osb";...].
[2010/03/21 18:03:17] Resolving "tmp:/tmp/liqUmZu.osb" (timeout 20s)...
[2010/03/21 18:03:17] Pushed ["/tmp/liqUmZu.osb";...].
[2010/03/21 18:03:17] Currently on air.

In this case, the only remaining problem is the logs of the intermediate 
requests..


Romain

------------------------------------------------------------------------------
Download Intel® 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 à