aboutsummaryrefslogtreecommitdiffstats
path: root/src/command (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-28FileCommands: use PathTraitsFS typedefsMax Kellermann1-2/+2
2015-02-28fs/FileInfo: new library providing GetFileInfo()Max Kellermann1-7/+7
Replaces StatFile(), with a portable data object.
2015-02-28FileCommands: skip special files completelyMax Kellermann1-0/+2
Previously, MPD printed the time stamp without printing the file name. That made no sense.
2015-02-28storage/FileInfo: rename to StorageFileInfoMax Kellermann1-4/+4
2015-02-09command/{Queue,File}Commands: drop "file:///" prefix for absolute pathsMax Kellermann2-13/+15
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-28StickerDatabase: convert the struct name to upper caseMax Kellermann1-1/+1
2015-01-01Copyright year 2015Max Kellermann31-31/+31
2014-12-12sticker/Match: add inequality operatorsMax Kellermann1-0/+4
2014-12-12sticker/Match: add operator "EQUALS"Max Kellermann1-1/+17
Mapped to "=" in the MPD protocol. This is the first operator, initially supporting value matches in the MPD protocol.
2014-12-12sticker/Song: add enum StickerOperator to sticker_song_find()Max Kellermann1-0/+4
2014-12-12sticker/Database: use the Error libraryMax Kellermann1-7/+23
2014-12-09AllCommands: use ARRAY_SIZE()Max Kellermann1-1/+2
2014-12-08command: use ConstBuffer<const char *> for argument listMax Kellermann25-420/+417
2014-12-08AllCommands: simplify the tokenizer loopMax Kellermann1-17/+19
2014-12-08AllCommands: assign current_command earlyMax Kellermann1-5/+4
2014-12-08AllCommands: remove redundant initializerMax Kellermann1-1/+1
2014-12-06AllCommands: make variables more localMax Kellermann1-16/+13
2014-12-06AllCommands: make the commands array "constexpr"Max Kellermann1-1/+1
2014-11-25{Tag,Song}Print, PlayerCommands: report song duration with milliseconds ↵Max Kellermann1-0/+4
precision
2014-11-18QueueCommands: workaround for buggy clients that send "add /"Max Kellermann1-1/+10
2014-11-18DatabaseCommands: add "window" parameter to "search"/"find"Max Kellermann1-1/+13
2014-10-25AllCommands: "commands" returns playlist commands only if playlist_directory ↵Max Kellermann3-0/+23
configured
2014-10-09StoragePlugin: pass EventLoop to constructorMax Kellermann1-2/+4
2014-10-01storage/Interface: include cleanupMax Kellermann1-0/+1
2014-09-18command/list: reset used size after the list has been processedAndrzej Rybczak1-0/+1
2014-08-29PlayerThread: use SongTime for elapsed_timeMax Kellermann1-2/+2
2014-08-29PlayerControl: use SignedSongTime for the song durationMax Kellermann1-1/+3
2014-08-28PlaylistEdit: pass std::chrono::duration to SetSongIdRange()Max Kellermann1-11/+11
2014-08-28Playlist: use std::chrono::duration for Seek*()Max Kellermann1-6/+8
2014-08-12AllCommands: close connection after syntax errorMax Kellermann1-1/+3
Stop HTTP clients from exploiting MPD via forged POST requests.
2014-07-29db/Interface: add virtual method Update()Max Kellermann1-0/+24
For database plugins that don't use the UpdateService.
2014-07-29OtherCommands: split handle_update()Max Kellermann1-16/+22
2014-07-12QueueCommands: new command "rangeid"Max Kellermann3-0/+58
Manipulates the playback range of a queued song.
2014-07-11PlaylistEdit: postpone UpdateQueuedSong() when adding multiple songsMax Kellermann3-0/+9
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 Kellermann1-3/+2
2014-06-16command: make argc unsignedMax Kellermann25-206/+205
2014-06-11ClientList: use class boost::intrusive::listMax Kellermann1-4/+4
Eliminate extra allocations for the std::list node instances.
2014-05-10PlaylistCommands: remove redundant playlist_load_spl() callMax Kellermann1-17/+1
This case is handled already by playlist_open_in_playlist_dir() (via playlist_mapper_open()). And the call didn't work anyway.
2014-04-27db/Count: implement groupingMax Kellermann1-2/+16
2014-04-26DatabasePrint: move PrintSongCount() to Count.cxxMax Kellermann1-0/+1
2014-04-25DatabasePrint: refactor variable/function namesMax Kellermann1-2/+2
2014-04-25DatabaseCommands: disallow "grouping" by the selected tagMax Kellermann1-0/+7
Fixes assertion failure.
2014-04-24DatabasePrint: eliminate printAllIn(), printInfoForAllIn()Max Kellermann1-2/+4
2014-04-24DatabaseCommands: "list" allows groupingMax Kellermann1-1/+20
2014-04-24DatabaseCommands: simplify the handle_list() argument parserMax Kellermann1-9/+12
2014-04-24SongFilter: convert argv to ConstBufferMax Kellermann2-7/+20
2014-04-24DatabaseCommands: fix crash on "list base"Max Kellermann1-7/+2
The string "base" is understood by locate_parse_type(), but not by listAllUniqueTags(). The special tag type LOCATE_TAG_BASE_TYPE causes a crash in PrintUniqueTag().
2014-04-24DatabaseCommands: clarify compatibility commentMax Kellermann1-1/+1
2014-03-14command/{storage,file}: suppress bogus format warnings on WIN32Max Kellermann2-0/+22
2014-03-01command: add command "listfiles"Max Kellermann9-2/+237
Lists files and directories. Supports storage plugins.