• Max Kellermann's avatar
    playlist: fix "clear" crash in random mode · a6ad0cde
    Max Kellermann authored
    When MPD is not playing while in random mode, and the client issues
    the "clear" command, MPD crashes in stopPlaylist(), or more exactly,
    in queue_order_to_position(-1).  Exit from stopPlaylist() if MPD isn't
    playing.
    a6ad0cde
playlist.c 30.6 KB