Hello
Quick question about the script below from Dolebraï. What made you
choose to put the into insertion logic into the liq script, versus the
external script that selects tracks?
# Prepend introductory tracks if necessary
intro_mix = single("/var/cache/dolebrai/local/jingles/in_vitro/DJLEmb2.mp3")
def choose_prepend(m)
if m["prepend_track"] != "" then
request.queue(interactive=false,queue=[request(m["prepend_track"])])
elsif m["track_type"] == "mix" then
# This is more reliable than prepend_track as intro_mix is always ready
intro_mix
else
fallback([])
end
end
s = prepend(s, choose_prepend)
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users