#340: Non-conservative mode broke in current SVN
-------------------------+--------------------------------------------------
  Reporter:  toots       |       Owner:  admin   
      Type:  Bugs        |      Status:  new     
  Priority:  1           |   Milestone:  1.0 beta
 Component:  Liquidsoap  |     Version:          
Resolution:              |    Keywords:          
       Mac:  1           |       Linux:  1       
    Netbsd:  1           |       Other:  1       
   Freebsd:  1           |  
-------------------------+--------------------------------------------------
Description changed by toots:

Old description:

> Hi !
>
> It seems that the new behaviour for {{{request.dynamic}}} is broken in
> current SVN.
>
> By default, it should fetch a new file only 10 seconds before the end of
> the current file. However, in current SVN, two files are fetched when
> liquidsoap starts..
>
> A simple script to test this is:
> {{{
> def f () =
>  file = list.hd(get_process_lines("find \"/home/toots/documents/zic\" |
> sort -R 2> /dev/null | head -n 1 2> /dev/null"))
>  print("\n\n\nGot file: #{file}\n\n\n")
>  request.create(file)
> end
>
> s = request.dynamic(id="bli",f)
>
> output.ao(fallible=true,s)
> }}}
>
> A good tip for this is to look at the values of {{{#remaining}}} just
> after the song was queued. If it is zero at some point, liquidsoap may
> grab another file.
>
> Previously, {{{#remaining}}} was checked after the first {{{#get_frame}}}
> and the estimated length was correct at this point.

New description:

 Hi !

 It seems that the new behaviour for {{{request.dynamic}}} is broken in
 current SVN.

 By default, it should fetch a new file only 10 seconds before the end of
 the current file. However, in current SVN, two files are fetched when
 liquidsoap starts..

 A simple script to test this is:
 {{{
 def f () =
  file = list.hd(get_process_lines("find \"/home/toots/documents/zic\" | \
     sort -R 2> /dev/null | head -n 1 2> /dev/null"))
  print("\n\n\nGot file: #{file}\n\n\n")
  request.create(file)
 end

 s = request.dynamic(id="bli",f)

 output.ao(fallible=true,s)
 }}}

 A good tip for this is to look at the values of {{{#remaining}}} just
 after the song was queued. If it is zero at some point, liquidsoap may
 grab another file.

 Previously, {{{#remaining}}} was checked after the first {{{#get_frame}}}
 and the estimated length was correct at this point.

--

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/340#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
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-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to