aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-09-25decoder/wavpack: support all APEv2 tagsMax Kellermann3-17/+17
WavPack tags are always APEv2, by definition. Reuse the tag_table from tag_ape.c, instead of rolling our own.
2012-09-22locate: cast enum tag_type to int before comparing with integerMax Kellermann1-4/+4
Avoids clang pickiness. This code is not correct, but we'll fix that another day.
2012-09-04decoder/_ogg_common: fix buffer size checkMax Kellermann1-1/+1
Fixes potential access to uninitialised memory.
2012-09-04decoder/_ogg_common: simplify the large "if" expressionMax Kellermann1-6/+8
2012-09-03AudioCompress: abort on out-of-memoryMax Kellermann1-0/+7
This library crashes on out-of-memory (NULL pointer dereference). There's not much useful MPD can do in such a situation, so let's explicitly abort instead, just like GLib does.
2012-09-03update_walk: fix unsafe readlink() usageMax Kellermann1-2/+10
2012-08-25playlist/cue: map "PERFORMER" to "artist" or "album artist"Max Kellermann1-1/+11
Implements Mantis ticket 0003549.
2012-08-25player_thread: disable cross-fading in "single" modeMax Kellermann4-8/+47
This commit reimplements the core of the "single" mode. Instead of doing the detection in the playlist code from the outside, it is moved to the player thread, which gets a new option called "border_pause". It will now pause playback exactly at the beginning of the new song, making the feature more reliable. Now that the player thread knows what will happen, it can suppress cross-fading. Fixes mantis tickets 0003055 and 0003166.
2012-08-21command: make "single" a boolMax Kellermann1-1/+1
2012-08-21queue_save: save song prioritiesMax Kellermann4-6/+25
2012-08-16playlist_print: fix memory leakMax Kellermann1-0/+3
2012-08-16playlist_song: pass const song to _check_load_song()Max Kellermann1-1/+1
2012-08-16playlist_song: fix user-after-free bugMax Kellermann1-1/+3
2012-08-15player_thread: add local variable "start_ms"Max Kellermann1-1/+3
Just in case "song" becomes invalid at some point.
2012-08-15playlist: fix unprotected player_control accessMax Kellermann1-1/+5
2012-08-15filter/volume: include cleanupMax Kellermann2-2/+0
2012-08-15mapper: fix potential crash in file permission checkMax Kellermann1-3/+3
2012-08-15decoder/fluidsynth: add "sample_rate" settingMax Kellermann1-6/+14
2012-08-15decoder/fluidsynth: add "soundfont" settingMax Kellermann1-6/+7
Replaces the old global "soundfont" which never worked.
2012-08-15configure.ac: auto-detect libfluidsynthMax Kellermann1-9/+0
Now that the libfluidsynth API was sanitized, we can enable the plugin automatically if libfluidsynth is installed.
2012-08-15decoder/fluidsynth: stop playback at end of fileMax Kellermann1-5/+4
Use libfluidsynth's new function fluid_player_get_status().
2012-08-15decoder/fluidsynth: don't duplicate pathMax Kellermann1-6/+1
The libfluidsynth now accepts const strings.
2012-08-15decoder/fluidsynth: check if file is really a MIDIMax Kellermann1-4/+1
Use fluid_is_midifile() to verify the file format.
2012-08-15decoder/fluidsynth: remove throttle (requires libfluidsynth 1.1)Max Kellermann1-17/+1
The libfluidsynth API is now sane, and does not require real-time decoding.
2012-08-14log: store duplicated path stringMax Kellermann3-31/+32
Don't free the string right after calling log_init_file(). Add a new function log_deinit() that frees the string on shutdown. This fixes cycling the log file after SIGHUP (Mantis ticket 0003524).
2012-08-14output/jack: implement method delay()Max Kellermann1-4/+11
Eliminate the g_usleep() call.
2012-08-14output/pulse: implement method delay()Max Kellermann1-7/+21
Reduce command latency while paused.
2012-08-14output/pulse: simplify _wait_stream()Max Kellermann1-55/+16
One large loop and only one pa_stream_get_state() call.
2012-08-14output/httpd: move delay from _pause() to _delay()Max Kellermann1-1/+5
2012-08-14output/httpd: fix throttling bug after resuming playbackMax Kellermann1-0/+8
Reset the timer when paused and no client is connected. This fixes Mantis ticket 0003527.
2012-08-14output/httpd: move code to _has_clients()Max Kellermann1-11/+27
2012-08-14timer: use monotonic clock if availableMax Kellermann3-13/+140
2012-08-14input/ffmpeg: remove fallback AV_VERSION_INT definitionMax Kellermann1-4/+1
This is part of libavutil.
2012-08-14mapper: fix non-UTF8 music directory nameMax Kellermann4-37/+73
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.
2012-08-14playlist_song: use map_to_relative_path()Max Kellermann1-4/+4
2012-08-14playlist_song: improve const-correctnessMax Kellermann1-5/+4
2012-08-14playlist_song: move code to playlist_check_load_song()Max Kellermann1-23/+23
2012-08-14input_stream, main: remove obsolete GLib version checksMax Kellermann3-8/+0
MPD requires GLib 2.16.
2012-08-13client_file: remove pure attribute from client_allow_file().Anton Khirnov1-1/+0
That function is not pure, it writes to error. When marked as pure, the compiler is allowed to assume it does not do anything to error, so it can remain NULL, which would result in an invalid read in print_error().
2012-07-30tcp_socket, ...: remove obsolet RAOP sourcesMax Kellermann6-976/+0
2012-07-29tag_ape: return false if no usable tag was foundMax Kellermann1-7/+21
Ignore APE tags that have no usable tags, and use the ID3 tag instead. This is useful when the APE tag only contains replay gain, and the real tags are stored as ID3. This implements feature request Mantis #0003521.
2012-07-26cue_parser: support file types "MP3", "AIFF"Max Kellermann1-1/+3
These two strings are common "FILE" types.
2012-07-13Add song duration to DSF and DSDIFF DSD decoders.Jurgen Kramer2-3/+24
2012-07-10aiff: support the AIFC formatMax Kellermann1-1/+2
2012-07-10output_init: put the "convert" filter at the end of the listMax Kellermann1-7/+7
No, really! This fixes a regression of commit 74617389, which changed the order of filter plugins.
2012-07-10require GLib 2.16Max Kellermann19-75/+2
GLib 2.16 was released more than 4 years ago. Let's remove some cruft from the glib_compat.h header, and avoid new cruft to it.
2012-07-10command: require appropriate permissions for searchadd{,pl}Jonathan Neuschäfer1-2/+2
2012-06-27patch to split DSD decoder into separate decoders for DSF en DFF. Move commonJurgen Kramer7-324/+568
functions to new dsdlib. Update user doc.
2012-06-27New command searchaddplgeneticdrift3-0/+77
Search and add search result to a stored playlist.
2012-06-27New command searchadd similar to command findadd.geneticdrift3-0/+73