#189: Liquidsoap fails at updating metadata after switching from input.http to
playlist
-------------------------+--------------------------------------------------
  Reporter:  Azrael      |       Owner:  admin
      Type:  Bugs        |      Status:  new  
  Priority:  1           |   Milestone:       
 Component:  Liquidsoap  |     Version:  0.3.8
Resolution:              |    Keywords:       
       Mac:  1           |       Linux:  1    
    Netbsd:  1           |       Other:  1    
   Freebsd:  1           |  
-------------------------+--------------------------------------------------
Comment (by toots):

 Hi Azrael !

 Thanks for your report.

 One way you could use to dig into the issue is to use the
 {{{on_metadata}}} hook. For instance, you could do:

 {{{
 def print_meta(s,m) =
   list.iter(fun(x)-> log(level=1,"Debug metadata for #{s}: #{x}"),m)
 end

 s = on_metadata(print_meta(source.id(s)),s)
 }}}

 Where {{{s}}} is your source.

 In particular, you could add this hook right after the playlist and right
 after the switch to see if metadata come out of the playlist or the
 switch.

 Also, there could be issues in the logic or your script. For instance
 {{{add([s1,s2])}}} only relays metadata from {{{s1}}}. If you can attach
 the script, we could try to spot this kind of mistake...

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/189#comment:1>
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