aboutsummaryrefslogtreecommitdiff
path: root/src/playlist_edit.c
Commit message (Collapse)AuthorAge
* Merge branch 'v0.17.x'Max Kellermann2012-08-25
|\ | | | | | | | | Conflicts: src/queue_save.c
| * queue_save: save song prioritiesMax Kellermann2012-08-21
| |
* | DatabasePlugin: add method ReturnSong()Max Kellermann2012-08-16
| | | | | | | | Allow the plugin to allocate the GetSong() return value.
* | player_control: add GError attributeMax Kellermann2012-08-08
|/ | | | | Rewrite of the pc_get_error_message() function, now using a GError object instead of the complicated "errored_song" attribute.
* playlist_edit: move UID check to client_allow_file()Max Kellermann2012-03-06
|
* Merge branch 'v0.16.x'Max Kellermann2011-12-24
|\
| * Playlist: fix bug in moving after current songMaarten Sebregts2011-12-21
| | | | | | | | | | | | | | | | | | 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-19
| | | | | | | | | | Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
* | copyright year 2011Max Kellermann2011-01-29
| |
* | player_control: removed the global variable "pc"Max Kellermann2011-01-10
|/ | | | | | | 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-31
|
* include config.h in all sourcesMax Kellermann2009-11-12
| | | | | | 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-08
|
* command: range support for "delete"Max Kellermann2009-09-30
|
* playlist_edit: moved code to playlist_delete_internal()Max Kellermann2009-09-30
|
* playlist: CamelCaseIsBadCourtney Cavin2009-07-28
| | | | Renamed all playlist functions to non-CamelCase.
* playlist: no CamelCaseMax Kellermann2009-07-14
|
* queue/playlist/command: move rangeJeffrey Middleton2009-03-26
| | | | | | | | | | | 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-13
| | | | | | | | 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-25
| | | | | "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-13
|
* added the shufflerange commandRomain Bignon2009-02-13
| | | | This command shuffles a range of songs.
* playlist: fix assertion when last/current song is deletedMax Kellermann2009-02-10
| | | | | | | 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-04
Moved functions for playlist editing (append, delete, shuffle, move) to playlist_edit.c.