Le 6 juin 2011 16:47, Mix Dance <[email protected]> a écrit :
> Bonjour,
Hi!
> J'ai eu un peu de mal a mettre un titre à mon problème et je m'en excuse
> par avance.
>
> J'aimerai creer une diffusion(de 1h) seulement le fichier que je vais
> jouer(un podcast) ne dure que 40min environ, et j'aimerai combler ce
> trou, avec le contenu d'un dossier. Comment faire pour le lire dans
> cette ordre?
>
> J'espère mettre exprimer de façon à se que vous compreniez ;)
Bien sur! Je vais repondre en francais cependant car je pense que cela
peux interesser plus de monde..
Basically, you have a time slot of one hour but the
podcast/playlist/source/.. you want to be playing has only like 40 min
available so you want to fill the gap.
What you should use in this case is a fallback, something like this:
# The source that has only 40 min
s = (...)
# Another source to fill the gap, for instance a playlist:
fill_the_gap = playlist("/path/to/some/files/")
# Combine them in a fallback
s = fallback([s,fill_the_gap])
In this case, the new s will play s for as long as it is available and
then switch to fill_the_gap when s becomes unavailable.
Take care,
Romain
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users