Salut! Le 12 juin 2011 08:53, Mix Dance <[email protected]> a écrit : > Le 07/06/2011 16:00, Romain Beauxis a écrit : >> >> 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 > > Bonjour, > > Déjà merci pour votre aide car c'est pas tous les jours que des personnes > prennent de leurs temps pour aider des pauvres noobs comme moi :) > > J'ai donc fais comme vous m'avez conseillé, à savoir: > > # Fichier > fichier_de_40min = single("/chemin/du/fichier.mp3") > autre = rotate(weights = [1, 1],[playlist_1, playlist_2]) > source = fallback([fichier_de_40min,autre]) > > Seulement, à la fin de "fichier_de_40min", celui-ci se relance; j'ai donc le > "fichier_de_40min" en boucle :'( > Comment faire pour corriger cette erreur!
Hmmm.. I can see a way to "correct" it, by using once(single(..)) However, I dont that this is not what you should be doing as in particular, this will result in a source that only plays once (as it says..) So far, I am not sure that I understand correctly what exactly you want to do. I think the best in this situation is that you read through the documentation, in particular the quick start and cookbook: http://savonet.sourceforge.net/doc-svn/quick_start.html http://savonet.sourceforge.net/doc-svn/cookbook.html You may as well look at the user scripts. Once you get a more detailed implementation of what you want to do then we should be able to work out the details together :-) 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
