Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
'Consume' should remove tracks when skipped #902
To make mopidy consistent with mpd's behaviour, when the 'consume' option is switched on and the currently-playing track is skipped, the track currently being played should be removed from the tracklist.
With mpd this only applies if you do a 'next' command; 'previous', or selecting another track by telling mpd to play by tracklist id does not do this. I'm not sure if this makes absolute sense, but that's what it does :)
Anyway, the reason this behaviour is useful is for when a client can auto-generate "infinite" playlists by adding a few tracks at a time and continually repopulating as it gets to the last track. The 'Consume' option is ideal for this behaviour, and it's nicer for the user if tracks they skip don't hang around either.