You have the same problem here. Only one sequence is ever built, so
only one jingle will be ever played. If you want one introductory
jingle any time you switch back to a playlist, use a transition:
  def start(a,b)
    sequence([jingle,b])
  end
  playlists = switch(track_sensitive=false, transitions=[start,start],
                      [({0s-29s}, electro,
                      ({30s-59s}, reggae])

It doesn't work (and I corrected parse error because of missing ) ), I don't have jingle at all. The only way I found to have it is to do something like this:

# sur 1 minute pour tester
playlists = switch(track_sensitive=false,
                   [({0s-25s}, electro),
                   ({26s-29s}, jingle),
                   ({30s-55s}, reggae),
                   ({56s-59s}, jingle)])

but the problem is that the jingles need to have the same length.

Reply via email to