aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-01commmand: fix URI argument in playlistaddtsufeki1-1/+1
2013-04-08command: don't check audio_format if not playingMax Kellermann1-7/+8
Fixes valgrind warning.
2013-04-08command: don't print undefined audio_formatMax Kellermann1-6/+9
Check audio_format_defined().
2012-09-25command: rename to AllCommands.cxxMax Kellermann1-385/+0
2012-09-25command: move remaining handlers to OtherCommands.cxxMax Kellermann1-277/+1
2012-08-29command: move code to *Commands.cxxMax Kellermann1-1289/+8
2012-08-29Stats: stats_print() returns voidMax Kellermann1-1/+2
2012-08-21command: make "single" a boolMax Kellermann1-1/+1
2012-08-16DatabasePlugin: add method ReturnSong()Max Kellermann1-0/+4
Allow the plugin to allocate the GetSong() return value.
2012-08-14mapper: fix non-UTF8 music directory nameMax Kellermann1-1/+1
Duplicate the music_dir variable: one encoded in UTF-8, and another one using the configured filesystem character set. This fixes an ancient MPD bug.
2012-08-08DatabasePrint: don't print Last-Modified if unknownMax Kellermann1-1/+2
2012-08-08time_print: new library, function time_print()Max Kellermann1-16/+2
Implements error checking for the gmtime_r() call, which was missing in two code locations.
2012-08-08DatabaseCommands: merge duplicate search/find codeMax Kellermann1-15/+10
2012-08-08locate: add a per-item "fold_case" flagMax Kellermann1-1/+1
Merge locate_song_search() and locate_song_match().
2012-08-07locate: don't allow empty listMax Kellermann1-8/+2
2012-08-07locate: add "casefold" flag to parserMax Kellermann1-2/+2
Fold the case during construction, without having to create another copy.
2012-08-07command: move code to DatabaseCommands.cxxMax Kellermann1-238/+4
Prepare to use the DatabasePlugin C++ API directly.
2012-08-07command: move print_error() to CommandError.cxxMax Kellermann1-104/+1
Prepare for splitting command.c.
2012-07-10command: require appropriate permissions for searchadd{,pl}Jonathan Neuschäfer1-2/+2
2012-06-27New command searchaddplgeneticdrift1-0/+28
Search and add search result to a stored playlist.
2012-06-27New command searchadd similar to command findadd.geneticdrift1-0/+26
2012-03-06command: read arbitrary local files with "lsinfo"Max Kellermann1-1/+22
Requires UNIX domain socket connection.
2012-03-06playlist_edit: move UID check to client_allow_file()Max Kellermann1-11/+15
2012-03-06command, ack: add ack_quark()Max Kellermann1-0/+4
To pass ack values around.
2012-03-06use g_strerror() instead of strerror()Max Kellermann1-1/+2
Make sure we get a UTF-8 encoded string.
2012-03-06command: fix the "DENIED" ACK codeMax Kellermann1-1/+1
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST.
2012-02-14command: move code to protocol/argparser.cMax Kellermann1-166/+1
2012-02-14command: use standard error messages in check_int()Max Kellermann1-49/+27
2012-02-14command: check for empty string after strtol()Max Kellermann1-7/+7
An empty string is obviously not a valid integer.
2012-02-14command: parse unsigned integers and booleans where applicableMax Kellermann1-67/+39
2012-02-14command: move functions to protocol/result.cMax Kellermann1-31/+1
2012-02-14command: eliminate local buffer "unknown"Max Kellermann1-2/+1
2012-02-13command: new command "config"Max Kellermann1-0/+19
2012-02-13client: add function client_is_local()Max Kellermann1-1/+1
2012-02-13command: never print "bad name" in response to "load"Max Kellermann1-5/+14
Work around a confusing error message.
2012-02-09command: add optional range parameter to "load"Max Kellermann1-4/+13
2012-02-09playlist_save: add start/end_index parametersMax Kellermann1-1/+2
2012-02-09playlist_queue: add start/end_index parametersMax Kellermann1-1/+3
2012-02-02directory: require the caller to lock the db_mutexMax Kellermann1-0/+4
Reduce the number of lock/unlock cycles, and make database handling safer.
2011-12-24command: new command "seekcur"Max Kellermann1-0/+16
For simpler seeking within current song.
2011-09-13db_print: move code to function db_selection_print()Max Kellermann1-9/+6
Use it in handle_lsinfo(), and eliminate some duplicate code.
2011-09-13database: don't allow uri==NULLMax Kellermann1-6/+6
Add nonnull attributes and fix all callers.
2011-09-13database: generate GError when database is disabledMax Kellermann1-0/+6
2011-09-13database: add struct db_visitorMax Kellermann1-48/+43
Use this struct for db_walk().
2011-09-11stored_playlist: return GError, code is playlist_resultMax Kellermann1-51/+72
Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client.
2011-09-06dbUtils: move code to db_print.cMax Kellermann1-0/+1
2011-09-05dbUtils: pass player_control to findAddIn()Max Kellermann1-1/+1
Allow calling findAddIn() without a client object.
2011-07-19queue: implement song "priorities"Max Kellermann1-0/+64
Sorts remaining songs by priority. This can be used for the much-demanded "queue feature".
2011-03-23command: fix return value of handle_currentsong()Max Kellermann1-1/+1
Thanks to clang for complaining.
2011-03-18command: print playlist load errorMax Kellermann1-1/+1
Call print_playlist_result() instead of casting the enum implicitly.