I've opened a ticket containing my remarks from a previous mail. As I was digging more into this issue I found out that the replay_metadata feature seemed to be already implemented as desired. But you don't skip as I was imagining -- as Romain pointed out earlier, in fact.
In any case, here's a variation of your script, I simply changed the order of transitions, and it behaves well. The transition() is the one that skips and it should be done when leaving I realized that your transitions skip only when coming back to On Tue, Feb 23, 2010 at 11:09 AM, Romaric Petion <roma...@saooti.com> wrote: > Ok, It seems to work as needed! > > Many thanks > > Romaric > > -----Message d'origine----- > De : David Baelde [mailto:david.bae...@gmail.com] > Envoyé : mardi 23 février 2010 16:56 > À : Romain Beauxis > Cc : savonet-users@lists.sourceforge.net; Romaric Petion > Objet : Re: [Savonet-users] Issue with Metadata and fallback with skip > source > > Hi Romaric, > > I have (finally) tested your script, and I confirm the surprising > behavior on the SVN version. There are essentially two mechanisms in > liquidsoap that "replay" metadata. I had in mind the low-level one, > but I forgot the specific mechanism attached to switching operators > which seems to be the cause of your problem as far as my tests showed. > > In a nutshell, good news: just pass replay_metadata=false to your fallback. > > Let me develop a bit. The replay_metadata mechanism has been setup to > avoid surprises. Suppose you're switch (track insensitively) back and > forth between two playlists. Older versions of liquidsoap would not > replay any metadata, i.e. you could starts song A of playlist X, see > its metadata, switch to song B of list Y, see its metadata, come back > to A, without any metadata notification. This was unwanted for many > users. > > I think it would make sense to refine the replay_metadata behavior to > not add old metadata when the source produces new ones. That way, we > might get a behavior that's always good, and get rid of the > replay_metadata parameter which everybody forgot. > > Cheers, > > David > > -- David ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users