summaryrefslogtreecommitdiff
path: root/src/playlist_edit.c
AgeCommit message (Collapse)Author
2009-03-26queue/playlist/command: move rangeJeffrey Middleton
The move command now accepts a range for the first argument, in the same form as other range commands, e.g. move 15:17 3. The first song in the range is placed at the destination position. Note that as with other range commands, the range is inclusive on the left only; this example would move only songs 15 and 16, not 17. [mk: fixed signed/unsigned warnings; use G_MAXUINT instead of UINT_MAX]
2009-03-13all: Update copyright header.Avuton Olrich
This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
2009-02-25ls: moved generic URI utilities to uri.cMax Kellermann
"ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
2009-02-13playlist_edit: improved range checks in shufflePlaylist()Romain Bignon
2009-02-13added the shufflerange commandRomain Bignon
This command shuffles a range of songs.
2009-02-10playlist: fix assertion when last/current song is deletedMax Kellermann
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".
2009-02-04playlist: moved code to playlist_edit.cMax Kellermann
Moved functions for playlist editing (append, delete, shuffle, move) to playlist_edit.c.