summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-29mpd version 0.15.3v0.15.3Avuton Olrich
2009-08-24Document nextsong and nextsongid.Anton Khirnov
2009-08-24decoder/vorbis: faster tag scanning with ov_test_callback()Rasmus Steinke
using ov_test_callback with function CALLBACKS_STREAMONLY will cause scanning to stop after the comment field. ov_open (and ov_test) default to CALLBACKS_DEFAULT which scans the file structure causing a huge slowdown. The speed improvement is huge: It scanned my files around 10x faster This procedure has been recommended by monthy (main vorbis developer) and was said to be safe for scanning files.
2009-08-19update: don't re-read unchanged container filesIgor Kuzmin
MPD checks if every flac (possibly other types as well) file contains cuesheet on every update, which produces unneeded I/O. My music collection is on NFS share, so it's quite noticeable. IMHO, it shouldn't re-read unchanged files, so I wrote simple patch to fix it.
2009-08-18output_init: initialize the "pause" flagMax Kellermann
Fix stuttering due to uninitialized variable.
2009-08-15Modify version string to post-release version 0.15.3~gitAvuton Olrich
2009-08-15mpd version 0.15.2v0.15.2Avuton Olrich
2009-08-14output/shout: minimize the unpause latencyMax Kellermann
During the pause loop, manually sleep for 500ms if shout_delay() returns a value greater than that. Don't exhaust libshout's buffer.
2009-08-14output: fixed shout stuck pause bugMax Kellermann
Explicitly make the output thread leave the ao_pause() loop. This patch is a workaround, and the "pause" flag is not managed in a thread-safe way, but that's good enough for now.
2009-08-14directory: free empty directories after removing them (memleak)Max Kellermann
dirvec_delete() does not free the object, we have to call directory_free() afterwards.
2009-08-14update: free temporary string in container scan (memleak)Max Kellermann
The return value of map_directory_child_fs() must be freed.
2009-08-14decoder/flac: don't allocate cuesheet twice (memleak)Max Kellermann
The function flac_cue_track() first calls FLAC__metadata_object_new(), then overwrites this pointer with FLAC__metadata_get_cuesheet(). This allocate two FLAC__StreamMetadata objects, but the first pointer is lost, and never freed.
2009-08-14update: free empty path string (memleak)Max Kellermann
When you pass an empty string to directory_update_init(), it was not freed by update_task().
2009-07-22decoder/flac: fixed indentation of flac_comment_value()Max Kellermann
2009-07-22decoder/flac: parse all replaygain tagsMax Kellermann
The FLAC replaygain parser used the "||" operator. This made the code stop after the first value which was found.
2009-07-22decoder/flac: return early from flac_find_float_comment()Max Kellermann
When one metadata check fails, return quickly. This removes 2 levels of indent.
2009-07-22decoder/flac: removed misplaced authorship commentMax Kellermann
This belongs into "git annotate" or AUTHORS.
2009-07-22mad: skip ID3 frames when libid3tag is disabledMax Kellermann
When libid3tag is disabled, the libmad decoder plugin is unable to identify ID3 frames. If the file starts with an (unidentified) ID3 frame, it assumes that the file is not a valid MP3 song. This patch solves this by adding minimal stubs for the ID3 functions.
2009-07-19ape: added protection against large memory allocationsMax Kellermann
The function tag_ape_load() retrieves a 32 bit unsigned integer from the input file, and passes it to g_malloc(). This is dangerous, and may be used for a denial of service attack on MPD.
2009-07-19tag_ape: removed redundant length checkMax Kellermann
Extend the tagLen check after reading it. Removed the second (redundant) check after the subtraction.
2009-07-18ape: check the tag size (fixes integer underflow)Max Kellermann
The expression "tagLen - size > 0" may result in an integer underflow and a buffer overflow, when "size" is larger than "tagLen". "size" is read from the input file, and must not be trusted. This patch changes the expression to "tagLen > size", which is a lot safer.
2009-07-17configure.ac: fix the --enable-alsa help stringMax Kellermann
--enable means "enable", not "disable".
2009-07-15Modify version string to post-release version 0.15.2~gitAvuton Olrich
2009-07-15mpd version 0.15.1v0.15.1Avuton Olrich
2009-07-15Makefile.am: disable test/run_encoder without pluginsMax Kellermann
If the encoder plugin API is disabled at compile time, don't compile test/run_encoder.c.
2009-07-14NEWS: fixed typoMax Kellermann
2009-07-14configure.ac: fail when ffmpeg is enabled, but not foundMax Kellermann
2009-07-14output/httpd: removed duplicate sys/types.h includeMax Kellermann
The first patch by Patrick didn't work, because his "#ifdef HAVE_OSX" line would have required config.h.
2009-07-06doc: documented the "shout" output plugin settingsMax Kellermann
2009-07-06doc: documented the "pulse" output plugin settingsMax Kellermann
2009-07-06doc: documented the "command" setting of the "pipe" output pluginMax Kellermann
2009-07-06decoder/flac: fix assertion failure in tag_free() callMax Kellermann
Initialize flac_data.tag right after flac_data_init(). This way, the "goto fail" won't jump to the point where tag_free(NULL) can be called.
2009-07-06output/httpd: include sys/types.hMax Kellermann
On Mac OS X, the httpd plugin cannot be compiled, because OS X's system headers do nto include sys/types.h, although they use u_int32_t.
2009-07-06song: initialize mtime in song_alloc()Max Kellermann
2009-07-05log: fix double free() bug during shutdownMax Kellermann
Don't free an internal configuration value in log_init(). Call config_get_path() instead of manually calling parsePath().
2009-06-30database: fixed NULL pointer dereference after charset changeMax Kellermann
When the filesystem_charset is changed in mpd.conf, MPD should discard the old database. In this error branch, MPD did not fill the GError object properly, and logged a warning message instead, which caused a segmentation fault.
2009-06-30doc/user: added introductionEnrico Mioso
- introduce a section explaining the mpd.conf format, as done in the man page: is it better to re-explain it here or ointing the user to the man page, avoiding information dupplication? - reorganizze some sections of the manual to give them a linear aspect...
2009-06-30doc/protocol: clarified "idle database"Max Kellermann
2009-06-29output_thread: don't play next chunk after command==PAUSEMax Kellermann
When the PAUSE loop ends, re-check the next command before calling ao_play() again.
2009-06-29output_all: don't resume playback when stopping during pauseMax Kellermann
When MPD was paused, and the client sent the "stop" command (or "clear"), a glitch caused MPD to continue playback for a split second. This was because audio_output_all_cancel() calls audio_output_all_update(), which reopens all output devices, and re-ignites the playback loop.
2009-06-26doc: fix wording for option "follow_inside_symlinks"Enrico Mioso
2009-06-25configure.ac: fix the --disable-ffmpeg help textMax Kellermann
2009-06-25NEWS: updated NEWS file for 0.15.1Max Kellermann
2009-06-23mpd version 0.15v0.15Avuton Olrich
2009-06-19decoder_thread: reopen the stream after file_decode() has failedMax Kellermann
When decoding a local file, the decoder thread tries to run all matching decoders, until one succeeds. Both file_decode() and stream_decode() can decode a stream, but MPD closes the stream before calling file_decode(). Problem is: when this decoder fails, and the next's stream_decode() method is invoked, the input_stream is still closed. This patch reopens it.
2009-06-10listen: bind() failure on secondary address is non-fatalMax Kellermann
Several users had problems with binding MPD to "localhost". The cause was duplicate /etc/hosts entries: the resolver library returns 127.0.0.1 twice, and of course, MPD attempts to bind to "both" of them. This patch makes failures non-fatal, given that at least one address was bound successfully. This is a workaround; users should rather fix their /etc/hosts file.
2009-06-10listen: renamed "error" to "error_r" in listen_add_host()Max Kellermann
2009-06-10listen: print debug message before bind()Max Kellermann
Dump each socket address before binding to it.
2009-06-09doc: refer to command_list_ok_begin, not command_list_beginMax Kellermann
list_OK is returned only after command_list_ok_begin.
2009-06-09doc: fixed a typo in the protocol documentationMax Kellermann