On 09/11/21 20:29 +0100, Max Kellermann wrote: > On 2009/11/21 20:23, lameire alexis <alexisis-pristont...@hotmail.com> wrote: > > if the "random" option is selection when the songs finish mpd select a > > new song, but at this time it don't select songs in function of the rate > > of it (the numbers of stars :)). > > If you want some sort of weighting based on the song rating, you > should better write a client which assembles a (randomly selected) > playlist, or which shuffles an existing playlist. MPD itself > shouldn't do complex control stuff.
you may want to look at perl bindings audio::mpd which provides a script that does dynamic playlist, taking song rating into account. however, the script itself predates rating support in mpd, so it uses a non-mpd dbfile (sleepycat). i plan to port it to using mpd's native rating. in the meantime, it can work without rating - in that case, songs will be inserted randomly. regards, jérôme -- jque...@gmail.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team