| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
Reduce the number of lock/unlock cycles, and make database handling
safer.
|
|
|
|
| |
For simpler seeking within current song.
|
|
|
|
| |
Use it in handle_lsinfo(), and eliminate some duplicate code.
|
|
|
|
| |
Add nonnull attributes and fix all callers.
|
| |
|
|
|
|
| |
Use this struct for db_walk().
|
|
|
|
|
| |
Improve error reporting and handling. command.c gets the new function
print_error(), which sends a GError to the client.
|
| |
|
|
|
|
| |
Allow calling findAddIn() without a client object.
|
|
|
|
|
| |
Sorts remaining songs by priority. This can be used for the
much-demanded "queue feature".
|
|\
| |
| |
| |
| |
| | |
Conflicts:
NEWS
configure.ac
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
NEWS
configure.ac
src/listen.c
|
| | |
| | |
| | |
| | | |
Thanks to clang for complaining.
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
Makefile.am
NEWS
configure.ac
|
| | |
| | |
| | |
| | | |
Call print_playlist_result() instead of casting the enum implicitly.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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."
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ /
| |
| |
| |
| |
| | |
Optionally allow all local files.
"Insecure" mode is used for printing playlists.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
On WIN32, "%F" and "%T" are not implemented.
|
| |
| |
| |
| |
| | |
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and
MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Same for "listplaylistinfo".
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Unified function for converting an audio_format object to a string,
for log messages and for the "status" command.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
This command prints a list of decoder plugins and their suffixes /
MIME types.
|
| |
| |
| |
| | |
Signed-off-by: Romain Bignon <romain@peerfuse.org>
|
| |
| |
| |
| |
| | |
When the range end is missing, then the maximum possible value is
assumed.
|
| |
| |
| |
| | |
These are portable and don't require limits.h.
|
| |
| |
| |
| |
| | |
The new command "replay_gain_mode" allows the user to switch the
replay gain mode on-the-fly. No more mpd.conf editing.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
This lets us eliminate the static fixed-size buffer.
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
"rescan" is the same as "update", but it discards existing songs in
the database.
|
| |
| |
| |
| |
| | |
Duplicate the path string within update.c, do not expect an allocated
string as parameter.
|
| | |
|