Le 15/01/2012 20:44, Romain Beauxis a écrit : > Hi, > > 2012/1/14 Audiodef Online<[email protected]>: >> Can weights be read from playlists in any way? I'd like some stuff in my >> master playlist to show up less often than other stuff. > If you need finer-grained scheduling, you should really consider > writing your own scheduler and hook it up to liquidsoap using > request.dynamic.. > > Romain Hi guys,
Just a simple idea to try to manage this: If 3 levels are needed (to make it simple) Define 3 sources: list_top, list_middle, list_low weighted_source = rotate(weights[1,2,3],[list_low,list_middle,list_top]) Will this work and make that you'll get 1 track with less priority for 2 "middle" tracks and 3 "top" tracks that should be played more often? This way, you can add more levels (sources) if needed, and adjust their respective weights as needed. Fred ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
