Can't crossfade using request.dynamic and rotate. Liquidsoap hang...
--------------------------------------------------------------------

                 Key: LS-645
                 URL: http://dev.sourcefabric.org/browse/LS-645
             Project: Liquidsoap
          Issue Type: Bug
          Components: Liquidsoap
         Environment: Ubuntu server 12.10 quantal, liquidsoap 1.0.1
            Reporter: MrChrisCool
            Priority: Major


Following script hang liquidsoap :


def Titre() =
  result = get_process_output("php /var/www/titre.php")
  request.create(result)
end

def Jingle() =
  result = get_process_output("php /var/www/jingle.php")
  request.create(result)
end

def crossfade(~conservative=true,s)
  s = fade.in(duration=5.,s)
  s = fade.out(duration=5.,s)
  fader = fun (a,b) -> add(normalize=false,[b,a])
  cross(conservative=conservative,duration=3.,fader,s)
end

flux = rotate(weights=[1,1],[request.dynamic(Jingle),request.dynamic(Titre)])
flux = crossfade(flux)

flux = fallback(track_sensitive=false,[flux,blank()])
output.icecast(params_for_icecast,flux)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à