• Max Kellermann's avatar
    playlist: don't preserve "current" song after "random" toggle · 58a5d308
    Max Kellermann authored
    When MPD is not playing, it may still remember which is the "current"
    song.  When you switch to "random" mode, MPD will always start playing
    exactly this song.  This defies the goal of "random" mode a little.
    Clear the "current" song when MPD is not playing during the "random"
    mode switch.
    58a5d308
playlist.c 8.77 KB