#204: Metadata vanish
-------------------------+--------------------------------------------------
  Reporter:  ~ok|        |       Owner:  mrpingouin  
      Type:  Bugs        |      Status:  new         
  Priority:  5           |   Milestone:  NEXT RELEASE
 Component:  Liquidsoap  |     Version:  0.3.8+svn   
Resolution:              |    Keywords:  metadata    
       Mac:  1           |       Linux:  1           
    Netbsd:  1           |       Other:  1           
   Freebsd:  1           |  
-------------------------+--------------------------------------------------
Changes (by mrpingouin):

  * owner:  admin => mrpingouin

Comment:

 Thanks for the bug report,

 I have simplified the issue. Rather than fallback() and compress(), which
 seem harmless, I thought the skip_blank(), eat_blank() and smartcross()
 are much more error prone. So I designed a simple test with these three.
 In fact, smartcross() seems to be guilty. I can reproduce the bug in
 seconds now, so I'll fix it within short.

 {{{
 # run with liquidsoap - < this.liq
 set("root.sync",false)

 source = playlist("~/media/audio/jingle")
 source = map_metadata(fun (_) -> [("title","XXX")], source)

 # source = skip_blank(source, length=3., threshold=-30.)
 # source = eat_blank(threshold=-30., source)
 source = smart_crossfade(conservative=true,
                          start_next=1.5,fade_in=0.5,fade_out=1.,
                          source)

 source = on_track(fun (m) -> begin
                     log("TITLE ==> #{m['title']}")
                     if m["title"] != "XXX" then
                       log("*** BUG ***")
                       shutdown()
                     end
                   end, source)

 output.dummy(mksafe(source))
 }}}

 Just a few words about my minimal bug. First, it's a simple script, in
 which you can easily turn on/off a feature to see if it's interfering or
 not. Then, in order to test it faster, I run in without root.sync, and a
 dummy output: this means that liq decodes and streams (in the void) as
 fast as possible. These tips are often useful. As I said, I obtain the bug
 quickly at every run, so I should be able to fix it easily -- probably
 tonight, no time now.

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/204#comment:6>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to