Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-03-06 | command: read arbitrary local files with "lsinfo" | Max Kellermann | 1 | -1/+22 | |
Requires UNIX domain socket connection. | |||||
2012-03-06 | playlist_edit: move UID check to client_allow_file() | Max Kellermann | 1 | -11/+15 | |
2012-03-06 | command, ack: add ack_quark() | Max Kellermann | 1 | -0/+4 | |
To pass ack values around. | |||||
2012-03-06 | use g_strerror() instead of strerror() | Max Kellermann | 1 | -1/+2 | |
Make sure we get a UTF-8 encoded string. | |||||
2012-03-06 | command: fix the "DENIED" ACK code | Max Kellermann | 1 | -1/+1 | |
Use ACK_ERROR_PERMISSION instead of ACK_ERROR_NO_EXIST. | |||||
2012-02-14 | command: move code to protocol/argparser.c | Max Kellermann | 1 | -166/+1 | |
2012-02-14 | command: use standard error messages in check_int() | Max Kellermann | 1 | -49/+27 | |
2012-02-14 | command: check for empty string after strtol() | Max Kellermann | 1 | -7/+7 | |
An empty string is obviously not a valid integer. | |||||
2012-02-14 | command: parse unsigned integers and booleans where applicable | Max Kellermann | 1 | -67/+39 | |
2012-02-14 | command: move functions to protocol/result.c | Max Kellermann | 1 | -31/+1 | |
2012-02-14 | command: eliminate local buffer "unknown" | Max Kellermann | 1 | -2/+1 | |
2012-02-13 | command: new command "config" | Max Kellermann | 1 | -0/+19 | |
2012-02-13 | client: add function client_is_local() | Max Kellermann | 1 | -1/+1 | |
2012-02-13 | command: never print "bad name" in response to "load" | Max Kellermann | 1 | -5/+14 | |
Work around a confusing error message. | |||||
2012-02-09 | command: add optional range parameter to "load" | Max Kellermann | 1 | -4/+13 | |
2012-02-09 | playlist_save: add start/end_index parameters | Max Kellermann | 1 | -1/+2 | |
2012-02-09 | playlist_queue: add start/end_index parameters | Max Kellermann | 1 | -1/+3 | |
2012-02-02 | directory: require the caller to lock the db_mutex | Max Kellermann | 1 | -0/+4 | |
Reduce the number of lock/unlock cycles, and make database handling safer. | |||||
2011-12-24 | command: new command "seekcur" | Max Kellermann | 1 | -0/+16 | |
For simpler seeking within current song. | |||||
2011-09-13 | db_print: move code to function db_selection_print() | Max Kellermann | 1 | -9/+6 | |
Use it in handle_lsinfo(), and eliminate some duplicate code. | |||||
2011-09-13 | database: don't allow uri==NULL | Max Kellermann | 1 | -6/+6 | |
Add nonnull attributes and fix all callers. | |||||
2011-09-13 | database: generate GError when database is disabled | Max Kellermann | 1 | -0/+6 | |
2011-09-13 | database: add struct db_visitor | Max Kellermann | 1 | -48/+43 | |
Use this struct for db_walk(). | |||||
2011-09-11 | stored_playlist: return GError, code is playlist_result | Max Kellermann | 1 | -51/+72 | |
Improve error reporting and handling. command.c gets the new function print_error(), which sends a GError to the client. | |||||
2011-09-06 | dbUtils: move code to db_print.c | Max Kellermann | 1 | -0/+1 | |
2011-09-05 | dbUtils: pass player_control to findAddIn() | Max Kellermann | 1 | -1/+1 | |
Allow calling findAddIn() without a client object. | |||||
2011-07-19 | queue: implement song "priorities" | Max Kellermann | 1 | -0/+64 | |
Sorts remaining songs by priority. This can be used for the much-demanded "queue feature". | |||||
2011-03-23 | command: fix return value of handle_currentsong() | Max Kellermann | 1 | -1/+1 | |
Thanks to clang for complaining. | |||||
2011-03-18 | command: print playlist load error | Max Kellermann | 1 | -1/+1 | |
Call print_playlist_result() instead of casting the enum implicitly. | |||||
2011-02-27 | command: "update" and "rescan" need only "CONTROL" permission | Max Kellermann | 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." | |||||
2011-01-29 | protocol: support client-to-client communication | Max Kellermann | 1 | -0/+172 | |
2011-01-29 | client_idle: add header client_idle.h | Max Kellermann | 1 | -0/+1 | |
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2011-01-10 | player_control: removed the global variable "pc" | Max Kellermann | 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. | |||||
2010-12-23 | playlist_song: add flag "secure" | Max Kellermann | 1 | -1/+1 | |
Optionally allow all local files. "Insecure" mode is used for printing playlists. | |||||
2010-12-07 | command: don't error when sticker list is run on song with no stickers | Anton Khirnov | 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. | |||||
2010-05-18 | command: fallback strftime() formats on WIN32 | Max Kellermann | 1 | -2/+4 | |
On WIN32, "%F" and "%T" are not implemented. | |||||
2010-03-21 | Add support for MixRamp tags | Tim Phipps | 1 | -0/+49 | |
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading. | |||||
2010-03-12 | command: allow "update" with slash or empty path | Max Kellermann | 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. | |||||
2010-02-27 | command: "update" checks if the path is malformed | Max Kellermann | 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. | |||||
2010-02-08 | command: "listplaylist" dumps playlist files | Max Kellermann | 1 | -0/+6 | |
Same for "listplaylistinfo". | |||||
2010-01-04 | replay_gain: moved code to replay_gain_config.c | Max Kellermann | 1 | -1/+1 | |
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-11-14 | audio_format: added function audio_format_to_string() | Max Kellermann | 1 | -4/+5 | |
Unified function for converting an audio_format object to a string, for log messages and for the "status" command. | |||||
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -1/+1 | |
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue. | |||||
2009-11-07 | command: added command "decoders" | Max Kellermann | 1 | -0/+10 | |
This command prints a list of decoder plugins and their suffixes / MIME types. | |||||
2009-11-04 | sticker comments in code and example configuration file | Romain Bignon | 1 | -0/+5 | |
Signed-off-by: Romain Bignon <romain@peerfuse.org> | |||||
2009-10-18 | command: omitting the range end is possible | Max Kellermann | 1 | -1/+4 | |
When the range end is missing, then the maximum possible value is assumed. | |||||
2009-10-18 | command: use GLib limit macros in check_range() | Max Kellermann | 1 | -10/+10 | |
These are portable and don't require limits.h. | |||||
2009-10-17 | command: allow changing replay gain mode on-the-fly | Max Kellermann | 1 | -0/+27 | |
The new command "replay_gain_mode" allows the user to switch the replay gain mode on-the-fly. No more mpd.conf editing. |