Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DatabasePrint: don't print Last-Modified if unknown | Max Kellermann | 2012-08-08 | 1 | -1/+2 |
| | |||||
* | time_print: new library, function time_print() | Max Kellermann | 2012-08-08 | 1 | -16/+2 |
| | | | | | Implements error checking for the gmtime_r() call, which was missing in two code locations. | ||||
* | DatabaseCommands: merge duplicate search/find code | Max Kellermann | 2012-08-08 | 1 | -15/+10 |
| | |||||
* | locate: add a per-item "fold_case" flag | Max Kellermann | 2012-08-08 | 1 | -1/+1 |
| | | | | Merge locate_song_search() and locate_song_match(). | ||||
* | locate: don't allow empty list | Max Kellermann | 2012-08-07 | 1 | -8/+2 |
| | |||||
* | locate: add "casefold" flag to parser | Max Kellermann | 2012-08-07 | 1 | -2/+2 |
| | | | | | Fold the case during construction, without having to create another copy. | ||||
* | command: move code to DatabaseCommands.cxx | Max Kellermann | 2012-08-07 | 1 | -238/+4 |
| | | | | Prepare to use the DatabasePlugin C++ API directly. | ||||
* | command: move print_error() to CommandError.cxx | Max Kellermann | 2012-08-07 | 1 | -104/+1 |
| | | | | Prepare for splitting command.c. | ||||
* | command: require appropriate permissions for searchadd{,pl} | Jonathan Neuschäfer | 2012-07-10 | 1 | -2/+2 |
| | |||||
* | New command searchaddpl | geneticdrift | 2012-06-27 | 1 | -0/+28 |
| | | | | Search and add search result to a stored playlist. | ||||
* | New command searchadd similar to command findadd. | geneticdrift | 2012-06-27 | 1 | -0/+26 |
| | |||||
* | command: read arbitrary local files with "lsinfo" | Max Kellermann | 2012-03-06 | 1 | -1/+22 |
| | | | | Requires UNIX domain socket connection. | ||||
* | playlist_edit: move UID check to client_allow_file() | Max Kellermann | 2012-03-06 | 1 | -11/+15 |
| | |||||
* | command, ack: add ack_quark() | Max Kellermann | 2012-03-06 | 1 | -0/+4 |
| | | | | To pass ack values around. | ||||
* | use g_strerror() instead of strerror() | Max Kellermann | 2012-03-06 | 1 | -1/+2 |
| | | | | Make sure we get a UTF-8 encoded string. | ||||
* | command: fix the "DENIED" ACK code | Max Kellermann | 2012-03-06 | 1 | -1/+1 |
| | | | | Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST. | ||||
* | command: move code to protocol/argparser.c | Max Kellermann | 2012-02-14 | 1 | -166/+1 |
| | |||||
* | command: use standard error messages in check_int() | Max Kellermann | 2012-02-14 | 1 | -49/+27 |
| | |||||
* | command: check for empty string after strtol() | Max Kellermann | 2012-02-14 | 1 | -7/+7 |
| | | | | An empty string is obviously not a valid integer. | ||||
* | command: parse unsigned integers and booleans where applicable | Max Kellermann | 2012-02-14 | 1 | -67/+39 |
| | |||||
* | command: move functions to protocol/result.c | Max Kellermann | 2012-02-14 | 1 | -31/+1 |
| | |||||
* | command: eliminate local buffer "unknown" | Max Kellermann | 2012-02-14 | 1 | -2/+1 |
| | |||||
* | command: new command "config" | Max Kellermann | 2012-02-13 | 1 | -0/+19 |
| | |||||
* | client: add function client_is_local() | Max Kellermann | 2012-02-13 | 1 | -1/+1 |
| | |||||
* | command: never print "bad name" in response to "load" | Max Kellermann | 2012-02-13 | 1 | -5/+14 |
| | | | | Work around a confusing error message. | ||||
* | command: add optional range parameter to "load" | Max Kellermann | 2012-02-09 | 1 | -4/+13 |
| | |||||
* | playlist_save: add start/end_index parameters | Max Kellermann | 2012-02-09 | 1 | -1/+2 |
| | |||||
* | playlist_queue: add start/end_index parameters | Max Kellermann | 2012-02-09 | 1 | -1/+3 |
| | |||||
* | directory: require the caller to lock the db_mutex | Max Kellermann | 2012-02-02 | 1 | -0/+4 |
| | | | | | Reduce the number of lock/unlock cycles, and make database handling safer. | ||||
* | command: new command "seekcur" | Max Kellermann | 2011-12-24 | 1 | -0/+16 |
| | | | | For simpler seeking within current song. | ||||
* | db_print: move code to function db_selection_print() | Max Kellermann | 2011-09-13 | 1 | -9/+6 |
| | | | | Use it in handle_lsinfo(), and eliminate some duplicate code. | ||||
* | database: don't allow uri==NULL | Max Kellermann | 2011-09-13 | 1 | -6/+6 |
| | | | | Add nonnull attributes and fix all callers. | ||||
* | database: generate GError when database is disabled | Max Kellermann | 2011-09-13 | 1 | -0/+6 |
| | |||||
* | database: add struct db_visitor | Max Kellermann | 2011-09-13 | 1 | -48/+43 |
| | | | | Use this struct for db_walk(). | ||||
* | stored_playlist: return GError, code is playlist_result | Max Kellermann | 2011-09-11 | 1 | -51/+72 |
| | | | | | Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client. | ||||
* | dbUtils: move code to db_print.c | Max Kellermann | 2011-09-06 | 1 | -0/+1 |
| | |||||
* | dbUtils: pass player_control to findAddIn() | Max Kellermann | 2011-09-05 | 1 | -1/+1 |
| | | | | Allow calling findAddIn() without a client object. | ||||
* | queue: implement song "priorities" | Max Kellermann | 2011-07-19 | 1 | -0/+64 |
| | | | | | Sorts remaining songs by priority. This can be used for the much-demanded "queue feature". | ||||
* | Merge branch 'v0.16.x' | Max Kellermann | 2011-04-12 | 1 | -1/+1 |
|\ | | | | | | | | | | | Conflicts: NEWS configure.ac | ||||
| * | Merge branch 'v0.15.x' into v0.16.x | Max Kellermann | 2011-04-12 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/listen.c | ||||
| | * | command: fix return value of handle_currentsong() | Max Kellermann | 2011-03-23 | 1 | -1/+1 |
| | | | | | | | | | | | | Thanks to clang for complaining. | ||||
* | | | Merge commit 'release-0.16.2' | Max Kellermann | 2011-03-19 | 1 | -1/+1 |
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am NEWS configure.ac | ||||
| * | | command: print playlist load error | Max Kellermann | 2011-03-18 | 1 | -1/+1 |
| | | | | | | | | | | | | Call print_playlist_result() instead of casting the enum implicitly. | ||||
* | | | command: "update" and "rescan" need only "CONTROL" permission | Max Kellermann | 2011-02-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From http://bugs.debian.org/513291 "In mpd.conf, the "admin" permission covers updating the db and killing mpd. "Since there are quite some usecases in which the user can upload music to the mpd's directory by means of anonymous FTP or so, it is desirable that any user may issue a db update, while killing the mpd should not be possible. "I'd suggest to remove the db update from the admin group and either add it to "control" or an own group." | ||||
* | | | protocol: support client-to-client communication | Max Kellermann | 2011-01-29 | 1 | -0/+172 |
| | | | |||||
* | | | client_idle: add header client_idle.h | Max Kellermann | 2011-01-29 | 1 | -0/+1 |
| | | | |||||
* | | | copyright year 2011 | Max Kellermann | 2011-01-29 | 1 | -1/+1 |
| | | | |||||
* | | | player_control: removed the global variable "pc" | Max Kellermann | 2011-01-10 | 1 | -37/+56 |
| | | | | | | | | | | | | | | | | | | | | | Allocate a player_control object where needed, and pass it around. Each "client" object is associated with a "player_control" instance. This prepares multi-player support. | ||||
* | | | playlist_song: add flag "secure" | Max Kellermann | 2010-12-23 | 1 | -1/+1 |
|/ / | | | | | | | | | | | Optionally allow all local files. "Insecure" mode is used for printing playlists. | ||||
* | | command: don't error when sticker list is run on song with no stickers | Anton Khirnov | 2010-12-07 | 1 | -7/+3 |
| | | | | | | | | | | | | this is inconsistent with other commands (e.g. find) and seems wrong -- a song with no stickers attached is a perfectly valid state and an empty list of stickers is also perfectly valid. |