aboutsummaryrefslogtreecommitdiffstats
path: root/src/Queue.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-22Playlist: refresh new tags after database updateMax Kellermann1-5/+0
Fixes regression from commit e96779d.
2013-10-22Queue: add method ModifyAtPosition()Max Kellermann1-0/+11
2013-10-22Queue: ModifyAtOrder() does not increment versionMax Kellermann1-1/+2
Leave that to the caller, allowing it to modify multiple items at a time.
2013-10-19*: use references instead of pointersMax Kellermann1-3/+3
2013-10-15gcc.h: rename to Compiler.hMax Kellermann1-1/+1
2013-07-28song: convert header to C++Max Kellermann1-5/+8
2013-01-08Queue: move code to new class IdTableMax Kellermann1-11/+4
2013-01-08Queue: rename internal typesMax Kellermann1-6/+6
2013-01-08Queue: move HASH_MULT and Item into the Queue classMax Kellermann1-29/+27
2013-01-08Queue: move GenerateId() and others into the classMax Kellermann1-0/+38
2013-01-07Queue: don't include glib.hMax Kellermann1-3/+1
2013-01-07Queue: use C++ random instead of GLib's GRandMax Kellermann1-1/+2
2013-01-07Queue: move queue_shuffle_order_first() into the classMax Kellermann1-0/+2
2013-01-07Queue: move queue_shuffle_order_range() into the classMax Kellermann1-0/+6
2013-01-06Queue: use std::swapMax Kellermann1-3/+3
2013-01-06queue: convert all functions to methodsMax Kellermann1-231/+186
2013-01-06Queue: add constructor and destructorMax Kellermann1-13/+11
2013-01-04playlist: convert to C++Max Kellermann1-3/+3
2012-08-21queue_save: save song prioritiesMax Kellermann1-1/+3
2011-07-19queue: implement song "priorities"Max Kellermann1-0/+33
Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
2011-01-29copyright year 2011Max Kellermann1-1/+1
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-10-13queue: no CamelCaseMax Kellermann1-5/+5
Renamed idToPosition.
2009-03-30queue: queue_generate_id() is not necessary for export.Avuton Olrich1-6/+0
2009-03-30implemented the 'consume' modeRomain Bignon1-0/+3
Consume mode removes each song played
2009-03-27renamed smartstop to single and changed behaviorRomain Bignon1-2/+2
When single mode is enabled, after current song it stops playback, or it replay same song if repeat mode is activated.
2009-03-27implements the smartstop featureRomain Bignon1-0/+3
The smartstop feature is a way to tell mpd to stop playing after current song. This patche provides: - 'state' command returns 'smartstop' state (1 or 0) - 'smartstop' can activate or not the smartstop state - when song is terminated, mpd stops playing and smartstop is set to 0
2009-03-26queue/playlist/command: move rangeJeffrey Middleton1-0/+6
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 Olrich1-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.
2009-01-25queue: added queue_shuffle_order_last()Max Kellermann1-0/+8
This function shuffles the last song of a range. This is used by addSongToPlaylist().
2009-01-23queue: added queue_shuffle_order()Max Kellermann1-0/+7
The function shuffles the virtual order of songs, but does not move them physically. This is used in random mode. The new function replaces playlist.c's randomizeOrder() function, which was aware of playlist.current and playlist.queued. The latter is always -1 anyway, and the former as preserved by the caller, by converting playlist.current to a position, and then back to an order number.
2009-01-23queue: merged songs, songMod, positionToId into struct queue_itemMax Kellermann1-11/+19
Move everything which belongs together into one common struct. This simplifies the implementation of several queue operations.
2009-01-22playlist: moved code to queue.cMax Kellermann1-0/+314
Attempt to untie the playlist.c knot: moved the playlist storage code to queue.c, struct queue.