aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_edit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.16.x'Max Kellermann2011-12-241-1/+1
|\
| * Playlist: fix bug in moving after current songMaarten Sebregts2011-12-211-1/+1
| | | | | | | | | | | | | | | | | | Moving songs using either 'move' or 'moveid' to position -1 (after the current song) would fail for a song which is just before the current song. This patch corrects the check to see if the current song is in the range to be moved. Since the range is from `start` up to `end` (exclusive) the check was incorrect, but is now fixed.
* | queue: implement song "priorities"Max Kellermann2011-07-191-0/+55
| | | | | | | | | | Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
* | copyright year 2011Max Kellermann2011-01-291-1/+1
| |
* | player_control: removed the global variable "pc"Max Kellermann2011-01-101-39/+48
|/ | | | | | | Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support.
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* include config.h in all sourcesMax Kellermann2009-11-121-0/+1
| | | | | | After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
* player_control: no CamelCaseMax Kellermann2009-10-081-2/+2
|
* command: range support for "delete"Max Kellermann2009-09-301-0/+26
|
* playlist_edit: moved code to playlist_delete_internal()Max Kellermann2009-09-301-10/+19
|
* playlist: CamelCaseIsBadCourtney Cavin2009-07-281-3/+3
| | | | Renamed all playlist functions to non-CamelCase.
* playlist: no CamelCaseMax Kellermann2009-07-141-51/+54
|
* queue/playlist/command: move rangeJeffrey Middleton2009-03-261-13/+18
| | | | | | | | | | | 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]
* all: Update copyright header.Avuton Olrich2009-03-131-3/+4
| | | | | | | | 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.
* ls: moved generic URI utilities to uri.cMax Kellermann2009-02-251-1/+1
| | | | | "ls" is a bad name for a library which parses URIs. We'll move the rest of the "ls" library later.
* playlist_edit: improved range checks in shufflePlaylist()Romain Bignon2009-02-131-1/+6
|
* added the shufflerange commandRomain Bignon2009-02-131-23/+21
| | | | This command shuffles a range of songs.
* 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.