#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 Azrael):

 Hello, sorry for the late answer.
 Okay, here is the part of my script that could be interesting :



 {{{
 # Defining playlists and eating blank[[BR]]
 musique =
 playlist(mode="random",reload=7200,"~/audio/musique/musique.m3u")[[BR]]
 rare = playlist(mode="random",reload=7200,"~/audio/rare/rare.m3u")[[BR]]
 musique = eat_blank(threshold=-50.0,length=1.9,musique)[[BR]]
 rare = eat_blank(threshold=-50.0,length=1.9,rare)[[BR]]
 [[BR]]
 # Defining Jingles[[BR]]
 jingles = playlist(reload=7200,"~/audio/jingles/jingles.m3u")[[BR]]
 [[BR]]
 # Defining Live[[BR]]
 live = input.http("http://localhost:8018";)[[BR]]
 live = strip_blank(live)[[BR]]
 [[BR]]
 # Defining smooth-add[[BR]]
 pouss = input.http("http://localhost:8028";)[[BR]]
 pouss = strip_blank(pouss)[[BR]]
 [[BR]]
 # Gathering playlists[[BR]]
 preradio = random(strict=false,weights=[15,1],[musique,rare])[[BR]]
 radio = random(strict=true,weights=[3,1],[preradio,jingles])[[BR]]
 [[BR]]
 # Adding smooth-add[[BR]]
 xradio = smooth_add(delay=0.5,p=0.2,normal=radio,special=pouss)[[BR]]

 # Defining a secure file[[BR]]
 secure = single("/backup.mp3")[[BR]]
 [[BR]]
 # Assembling everything into one output[[BR]]
 output = fallback(track_sensitive=false, [live, xradio, secure])
 }}}




 I guess it might be dirty since I'm not particularly at ease with
 Liquidsoap syntax, but it used to work okay on Liquidsoap 0.3.6 : On 0.3.8
 however, each time Liquidsoap starts playing a live source, I wonder
 whether it'll continue updating metadatas or not : often he does,
 sometimes he doesn't and need to be resterted.

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