diff --git a/src/playlist.c b/src/playlist.c
index 76a448ba2fbc460e9e4a4418e48996b05106451b..19a1b419cc08f8ac8f08cce603d647c73bae9606 100644 (file)
--- a/src/playlist.c
+++ b/src/playlist.c
/*
- * $Id$
- *
* (c) 2004 by Kalle Wallin <kaw@linux.se>
* (c) 2008 Max Kellermann <max@duempel.org>
*
#include "playlist.h"
#include "mpdclient.h"
-#include "ncmpc.h"
#include <string.h>
{
guint i;
+ playlist->id = 0;
+
for (i = 0; i < playlist->list->len; ++i) {
struct mpd_song *song = playlist_get(playlist, i);