diff options
Diffstat (limited to '')
-rw-r--r-- | src/playlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist.c b/src/playlist.c index 76a448ba2..919b4c34f 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -41,6 +41,8 @@ playlist_clear(struct mpdclient_playlist *playlist) { guint i; + playlist->id = 0; + for (i = 0; i < playlist->list->len; ++i) { struct mpd_song *song = playlist_get(playlist, i); |