#36: blank processing eats metadatas
-------------------------+--------------------------------------------------
  Reporter:  toots       |       Owner:  toots    
      Type:  Bugs        |      Status:  assigned 
  Priority:  1           |   Milestone:           
 Component:  Liquidsoap  |     Version:  0.3.3+svn
Resolution:              |    Keywords:           
-------------------------+--------------------------------------------------
Comment (by mrpingouin):

 Another test for track insensitive switches. Here you should see metadata
 (GOT TITLE=...) of the single, then a PUSH and the metadata of the
 filename, then a SKIP. At this point, you currently don't see a thing. The
 question is whether we want to see again the metadata of the single when
 the switch comes back to it. (I'm asking the question because the fix I
 had in mind only takes care of the loss of metadata caused by active
 sources, not this kind...)

 {{{
 filename = "..." # your favorite
 single = single("...") # another favorite

 notify = fun (s) ->
   on_metadata(fun (m) -> log('GOT TITLE=#{m["title"]}'), s)

 output.dummy(id="o",
   notify(fallback(track_sensitive=false,[request.queue(id="q"),irish])))

 add_timeout(3.,{ log("PUSH")
                  ignore(execute('q.push #{filename}'))
                  100000. })
 add_timeout(9.,{ log("SKIP")
                  ignore(execute('o.skip'))
                  100000. })
 }}}

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/36#comment:3>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à