Code

playlist: don't update the song positions in playlist_swap()
authorMax Kellermann <max@duempel.org>
Sun, 18 Oct 2009 00:00:01 +0000 (02:00 +0200)
committerMax Kellermann <max@duempel.org>
Sun, 18 Oct 2009 00:00:01 +0000 (02:00 +0200)
commita4ac1538fa56ba05d91911fa91b1287c75e74ba8
tree004fabad03b0c47a52125dc4440c7495775b3c95
parentf4aa3b9b5c98d5698e80546f07fa67d54ef86f81
playlist: don't update the song positions in playlist_swap()

In ncmpc, nobody reads the song's "position" attribute (except for the
"plchanges" handler).  We don't need it, and we don't need to update
it after a swap.
src/playlist.h