aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/QueueCommands.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* command/{Queue,File}Commands: drop "file:///" prefix for absolute pathsMax Kellermann2015-02-091-12/+3
| | | | | | | | | | | | 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.
* Copyright year 2015Max Kellermann2015-01-011-1/+1
|
* command: use ConstBuffer<const char *> for argument listMax Kellermann2014-12-081-59/+55
|
* QueueCommands: workaround for buggy clients that send "add /"Max Kellermann2014-11-181-1/+10
|
* PlaylistEdit: pass std::chrono::duration to SetSongIdRange()Max Kellermann2014-08-281-11/+11
|
* QueueCommands: new command "rangeid"Max Kellermann2014-07-121-0/+54
| | | | Manipulates the playback range of a queued song.
* Merge branch 'v0.18.x'Max Kellermann2014-07-111-0/+3
|\
| * PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann2014-07-111-0/+3
| | | | | | | | | | | | | | | | | | | | 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.
| * QueueCommands: make "result" more localMax Kellermann2014-07-111-3/+2
| |
* | command: make argc unsignedMax Kellermann2014-06-161-22/+22
| |
* | SongFilter: convert argv to ConstBufferMax Kellermann2014-04-241-1/+4
| |
* | Playlist: use the Error library to return errorsMax Kellermann2014-02-271-9/+11
| |
* | Playlist*: move to queue/Max Kellermann2014-02-271-1/+1
| |
* | SongLoader: new class that merges duplicate codeMax Kellermann2014-02-031-55/+30
| | | | | | | | | | There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
* | ClientFile: move client_allow_file() into the Client classMax Kellermann2014-02-021-3/+2
| |
* | db: add compile-time option to disable databaseMax Kellermann2014-01-301-0/+5
| |
* | Database*: move to db/Max Kellermann2014-01-241-2/+2
| |
* | Client*: move to client/Max Kellermann2014-01-241-2/+2
| |
* | copyright year 2014Max Kellermann2014-01-131-1/+1
|/
* *Commands: move to src/command/Max Kellermann2013-10-201-0/+391