aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_edit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* playlist: fix assertion when last/current song is deletedMax Kellermann2009-02-101-1/+4
| | | | | | | When MPD is stopped, but the last song is still the "current song", and you delete it, playlist->current is not updated, and becomes an invalid value. Fix this by catching "!playlist->playing && playlist->current == (int)songOrder".
* playlist: moved code to playlist_edit.cMax Kellermann2009-02-041-0/+393
Moved functions for playlist editing (append, delete, shuffle, move) to playlist_edit.c.