[MPlayer-dev-eng] [PATCH] Play previously played entries in shuffled playlist

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jul 15 22:12:25 CEST 2012


On 15 Jul 2012, at 20:43, Adam Buechler <butchler at gmail.com> wrote:
> Allows you to play previously played entries again in a shuffled playlist
> by stepping backward in the playtree. It does this by shuffling the
> playtree as you step through it, choosing a random song and swapping it
> with the next entry every time you're about to step onto an entry that
> hasn't been played before.

I suspect it changes behaviour quite a bit.
But I don't really understand what exactly the condition you added will end up doing.
In particular the case of using -loop 0 -shuffle I suspect will behave strangle (I suspect it selects a random entry when you backstep when a new loop iteration has just begun?)
What it clearly changes is that the playtree step functions no longer actually step in the playtree but do a "previously played", it might be better to make that a separate command.
What seems less risky would be to just add a last-played index, or even links to played previously/next, however any implementation will act questionably at some point with -loop 0....


More information about the MPlayer-dev-eng mailing list