#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:           
-------------------------+--------------------------------------------------
Changes (by toots):

  * owner:  admin => toots
  * status:  new => assigned

Comment:

 I've attached a possible fix for harbor with strip_blank (my case):
 Source.ml:
  * Add value mutable latest_metadata : Frame.t option
  * Add set/get methods

 Harbor:
  * Set latest metadata for each new metadata

 Switch:
  * Add value mutable add_meta : Frame.t option
  * Fill add_value with latest_metadata at each switch
  * Add add_value when set and frame do not have metadata (this is
 sensitive to the good position to add metadata..)

 Strip_blank:
  * Set method latest_metadata = source#latest_metadata

 Test with attached blank.liq script and:
 {{{
 ./liquidsoap --verbose --debug
 
'output.icecast.vorbis(port=8005,mount="test",mksafe(sequence([blank(duration=10.),input.lastfm("lastfm://user/toots5446/playlist")])))'
 }}}

 You should have a "/tmp/test-The Savonet Team - Liquidsoap Stream.ogg"

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

Répondre à