Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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. | |||||
2009-10-13 | command: "load" supports remote playlists (m3u, xspf, lastfm://) | Max Kellermann | 1 | -0/+5 | |
This patch integrates the playlist plugin API to the MPD core. We'll be able to do much more in the future with that API, that's just the beginning. | |||||
2009-10-13 | song: renamed attribute "url" to "uri" | Max Kellermann | 1 | -1/+1 | |
2009-10-13 | tag: removed the "_ITEM_" suffix from the enum names | Max Kellermann | 1 | -3/+3 | |
2009-10-08 | player_control: no CamelCase | Max Kellermann | 1 | -8/+8 | |
2009-10-08 | player_control: bundle "get" functions in pc_get_status() | Max Kellermann | 1 | -8/+13 | |
The new player_status struct replaces a bunch of playerGetX() functions. When we add proper locking to the player_control struct, we will only need to lock once for the "status" command. | |||||
2009-10-08 | player_control: allocate getPlayerErrorStr() result | Max Kellermann | 1 | -2/+5 | |
This lets us eliminate the static fixed-size buffer. | |||||
2009-09-30 | command: range support for "delete" | Max Kellermann | 1 | -3/+3 | |
2009-09-25 | command: relax requirements for unquoted words | Max Kellermann | 1 | -1/+1 | |
Allow most printable characters in unquoted words. The tokenizer patch introduced very strict requirements for command parameters - those were undocumented, and we're reverting the strictness now. | |||||
2009-09-24 | command: added command "rescan" | Max Kellermann | 1 | -1/+23 | |
"rescan" is the same as "update", but it discards existing songs in the database. | |||||
2009-09-24 | update: pass const string to update_enqueue() | Max Kellermann | 1 | -2/+2 | |
Duplicate the path string within update.c, do not expect an allocated string as parameter. | |||||
2009-09-24 | update: renamed directory_update_init() to update_enqueue() | Max Kellermann | 1 | -1/+1 | |
2009-08-25 | command: add "findadd" command. | Anton Khirnov | 1 | -0/+25 | |
2009-07-29 | command: moved command_process_list() to client.c | Max Kellermann | 1 | -26/+3 | |
2009-07-28 | playlist: CamelCaseIsBad | Courtney Cavin | 1 | -21/+21 | |
Renamed all playlist functions to non-CamelCase. | |||||
2009-07-19 | command: use the tokenizer library | Max Kellermann | 1 | -4/+50 | |
2009-07-14 | playlist: no CamelCase | Max Kellermann | 1 | -12/+12 | |
2009-07-06 | volume: moved range check to handle_setvol() | Max Kellermann | 1 | -0/+5 | |
Converted the range checks in volume_level_change() to assertions. Changed all volume types to "unsigned", expect for those which must be able to indicate error (-1). | |||||
2009-07-06 | volume, mixer: removed the "relative" parameter | Max Kellermann | 1 | -1/+1 | |
Since the "volume" command has been removed, nobody uses relative volumes anymore. |