Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | command: make "single" a bool | Max Kellermann | 2012-08-21 | 1 | -1/+1 |
| | |||||
* | mapper: fix non-UTF8 music directory name | Max Kellermann | 2012-08-14 | 1 | -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. | ||||
* | 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. | ||||
* | | command: fallback strftime() formats on WIN32 | Max Kellermann | 2010-05-18 | 1 | -2/+4 |
| | | | | | | | | On WIN32, "%F" and "%T" are not implemented. | ||||
* | | Add support for MixRamp tags | Tim Phipps | 2010-03-21 | 1 | -0/+49 |
| | | | | | | | | | | Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading. | ||||
* | | command: allow "update" with slash or empty path | Max Kellermann | 2010-03-12 | 1 | -1/+4 |
| | | | | | | | | | | | | | | When handle_update() was modified to use uri_safe_local(), suddently "mpc update ''" and "mpc update '/'" stopped working, because both are not a "safe" local URI. This patch adds a special case for these, to retain backwards compatibility. | ||||
* | | command: "update" checks if the path is malformed | Max Kellermann | 2010-02-27 | 1 | -2/+16 |
| | | | | | | | | | | | | This is a very basic check, which only ensures that the path does not begin with a slash, doesn't have double slashes and the special names "." and ".." are forbidden. | ||||
* | | command: "listplaylist" dumps playlist files | Max Kellermann | 2010-02-08 | 1 | -0/+6 |
| | | | | | | | | Same for "listplaylistinfo". | ||||
* | | replay_gain: moved code to replay_gain_config.c | Max Kellermann | 2010-01-04 | 1 | -1/+1 |
| | |