summaryrefslogtreecommitdiff
path: root/src/command/QueueCommands.cxx
AgeCommit message (Collapse)Author
2018-10-31*: copyright year 2018Max Kellermann
2018-09-02protocol/ArgParser: move struct RangeArg to separate headerMax Kellermann
2018-08-02song/OptimizeFilter: optimization stage for filtersMax Kellermann
2018-08-02DetachedSong, db/LightSong, SongFilter: move to src/song/Max Kellermann
2018-07-21SongFilter: Parse() throws exception on errorMax Kellermann
2018-01-30RemoteTagCache: new glue class for integrating RemoteTagScannerMax Kellermann
This commit also puts an instance of RemoteTagScanner into the Instance class, and hooks it into the "add" and "addid" commands.
2017-11-10util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STLMax Kellermann
2017-02-25Client: add method GetPartition(), make partition privateMax Kellermann
2017-02-25Client: replace playlist and player_control with getter methodsMax Kellermann
Prepare to convert "partition" to a mutable pointer.
2017-02-24SongPrint: remove Storage::MapToRelativeUTF8() callMax Kellermann
This code (added 7 years ago with commit b233c145f) has been obsoleted by the SongLoader class (added 3 years ago).
2017-02-08SongLoader: return instance, not pointerMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-11-07SongLoader, ...: include cleanupMax Kellermann
2016-10-29db/Interface: migrate visitor methods from class Error to C++ exceptionsMax Kellermann
2016-10-27LocateUri: migrate from class Error to C++ exceptionsMax Kellermann
2016-06-13command/QueueCommands: eliminate duplicate code in handle_addid()Max Kellermann
2016-06-13return id for "addid" with positionEric Wollesen
Previously the id was being returned only when a position wasn't specified.
2016-03-19db/Interface: GetSong() throws exception on errorMax Kellermann
2016-03-01*: include cleanup (using iwyu)Max Kellermann
2016-02-28PlaylistPrint: throw PlaylistError on errorMax Kellermann
2016-02-28queue/PlaylistEdit: throw PlaylistError on errorMax Kellermann
2016-02-28queue/QueueCommands: use std::unique_ptrMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-12-18protocol/Ack: add exception class wrapping enum ackMax Kellermann
2015-12-18PlaylistError: add exception class wrapping enum PlaylistResultMax Kellermann
2015-11-13command/queue: use StringIsEqual() instead of memcmp()Max Kellermann
memcmp() can overflow the buffer.
2015-10-27command/queue: add range parameter to plchanges and plchangesposidMax Kellermann
2015-10-22LocateUri: new library to classify URIs in a standard wayMax Kellermann
2015-08-13command: pass Response object to command callbacksMax Kellermann
2015-08-12client/Response: new Client wrapper class for writing responsesMax Kellermann
2015-08-11command/Request: add parser methodsMax Kellermann
Wrapper for protocol/ArgParser.cxx.
2015-08-11protocol/ArgParser: add overload with max_value parameterMax Kellermann
2015-08-11protocol/ArgParser: overload as ParseCommandArg(), pass referencesMax Kellermann
2015-08-11command/Request: new struct wrapping ConstBuffer<const char *>Max Kellermann
2015-08-11protocol/ArgParser: add struct RangeArgMax Kellermann
2015-08-11command/{Queue,Other}: eliminate local "bool" variableMax Kellermann
2015-02-09command/{Queue,File}Commands: drop "file:///" prefix for absolute pathsMax Kellermann
Requiring this prefix makes the client's intention very clear, but it was too hard to understand why this prefix was needed. Initially, my intention was to differentiate from broken clients which prefix relate URIs with a slash; once MPD allowed that. In the past few years however, MPD has disallowed that, and there was no significant breakage (except for the "add /" special case which some clients apparently still do). So I figure it's about time to define that an URI that begins with a slash points to an arbitrary file on the file system.
2015-01-01Copyright year 2015Max Kellermann
2014-12-08command: use ConstBuffer<const char *> for argument listMax Kellermann
2014-11-18QueueCommands: workaround for buggy clients that send "add /"Max Kellermann
2014-08-28PlaylistEdit: pass std::chrono::duration to SetSongIdRange()Max Kellermann
2014-07-12QueueCommands: new command "rangeid"Max Kellermann
Manipulates the playback range of a queued song.
2014-07-11Merge branch 'v0.18.x'Max Kellermann
2014-07-11PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann
Implement a "bulk" edit mode that postpones both UpdateQueuedSong() and OnModified(). This way, the playlist version gets incremented only once. More importantly: when adding multiple songs to a queue that consists of only one song, the first song that got added will always be played next. By postponing this choice, all newly added songs get a chance to become the next song. Fixes the second (and last) part of Mantis ticket 0004005.
2014-07-11QueueCommands: make "result" more localMax Kellermann
2014-06-16command: make argc unsignedMax Kellermann
2014-04-24SongFilter: convert argv to ConstBufferMax Kellermann
2014-02-27Playlist: use the Error library to return errorsMax Kellermann
2014-02-27Playlist*: move to queue/Max Kellermann
2014-02-03SongLoader: new class that merges duplicate codeMax Kellermann
There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.