Code

playlist: reset id in playlist_clear()
authorMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 23:57:34 +0000 (01:57 +0200)
committerMax Kellermann <max@duempel.org>
Wed, 17 Sep 2008 23:57:34 +0000 (01:57 +0200)
commit97aa8b3d2af61beab67ca4882251ce68582b95b6
tree7bb0b83453c4a8c160348bea8987a33dfaca3894
parentfe8895120e565f83f18fb3c0af7a0bbbc881e5d9
playlist: reset id in playlist_clear()

The playlist is reset when the connection to the MPD server is
closed.  After a successful reconnect, we have to reload the full
playlist.  To remember this, also reset the id attribute.
src/playlist.c