aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-08-14update: free empty path string (memleak)Max Kellermann1-0/+1
When you pass an empty string to directory_update_init(), it was not freed by update_task().
2009-07-22decoder/flac: parse all replaygain tagsMax Kellermann1-0/+1
The FLAC replaygain parser used the "||" operator. This made the code stop after the first value which was found.
2009-07-22mad: skip ID3 frames when libid3tag is disabledMax Kellermann1-0/+2
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 Kellermann1-0/+1
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-18ape: check the tag size (fixes integer underflow)Max Kellermann1-0/+2
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-15Modify version string to post-release version 0.15.2~gitAvuton Olrich1-0/+3
2009-07-15mpd version 0.15.1release-0.15.1Avuton Olrich1-1/+1
2009-07-14NEWS: fixed typoMax Kellermann1-1/+1
2009-07-06decoder/flac: fix assertion failure in tag_free() callMax Kellermann1-0/+2
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 Kellermann1-0/+2
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-05log: fix double free() bug during shutdownMax Kellermann1-0/+1
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 Kellermann1-0/+1
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-29output_all: don't resume playback when stopping during pauseMax Kellermann1-0/+2
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-25NEWS: updated NEWS file for 0.15.1Max Kellermann1-0/+3
2009-06-23mpd version 0.15release-0.15Avuton Olrich1-1/+1
2009-06-10listen: bind() failure on secondary address is non-fatalMax Kellermann1-0/+1
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-04-28alsa_mixer: add mixer_index optionDaniel Kahn Gillmor1-0/+2
This allows you to select controls with duplicate names.
2009-04-25curl: moved proxy settings to "input" blockMax Kellermann1-0/+1
The old global settings "http_proxy_host", "http_proxy_port", "http_proxy_user" and "http_proxy_password" continue to work.
2009-04-25player_thread: pause when all audio outputs fail to playMax Kellermann1-0/+1
When all audio outputs have been closed due to failures, pause the playback instead of stopping it. This way, the user may resume at the current position after the problem has been dealt with.
2009-04-02NEWS: flagged some new features "experimental"Max Kellermann1-2/+3
The "lastfm" input plugin is far from complete, because MPD does not support nesting playlists yet. The "fluidsynth" decoder plugin suffers from shortcomings in the libfluidsynth library: http://www.mail-archive.com/fluid-dev@nongnu.org/msg01099.html
2009-04-01news: add more miscellaneous missing newsAvuton Olrich1-3/+12
2009-04-01news: move supports a rangeAvuton Olrich1-1/+1
2009-04-01news: add pulseaudio mixerAvuton Olrich1-1/+3
2009-04-01news: Add consume and single commandsAvuton Olrich1-2/+5
2009-03-31news: trivial modification to make the date line the same as the othersAvuton Olrich1-1/+1
2009-03-27mpcdec: support the new libmpcdec SV8 APIMax Kellermann1-0/+1
2009-03-16solaris: new audio output plugin for Solaris /dev/audioMax Kellermann1-0/+1
2009-03-14pcm_resample: choose the fallback resampler at runtimeMax Kellermann1-0/+1
Even if libsamplerate support is enabled, compile the fallback resampler. When the user specifies the option "samplerate_converter=internal", it is chosen in favor of libsamplerate. This may help users with a weak FPU who don't want to compile a custom MPD from source, because the fallback resampler does not use floating point operations.
2009-03-10player_thread: fill buffer after seekingMax Kellermann1-0/+1
After a seek, wait until enough new chunks are decoded before starting playback. If this takes too long, send silence chunks to the audio outputs meanwhile.
2009-03-09output_thread: wait 10 seconds before reopening after play failureMax Kellermann1-0/+1
This is similar to the MPD 0.14 patch "wait 10 seconds before reopening a failed device", which only covered open() failures. This patch adds the same feature for play().
2009-03-08alsa: better period_time default value for high sample ratesMax Kellermann1-0/+1
The default values for buffer_time and period_time were both capped by the hardware limits on practically all chips. The result was a period_time which was half as big as the buffer_time. On some chips, this led to lots of underruns when using a high sample rate (192 kHz), because MPD had very little time to send new samples to ALSA. A period time which is one fourth of the buffer time turned out to be much better. If no period_time is configured, see how much buffer_time the hardware accepts, and try to configure one fourth of it as period_time, instead of hard-coding the default period_time value. This is yet another attempt to provide a solution which is valid for all sound chips. Using the SND_PCM_NONBLOCK flag also seemed to solve the underruns, but put a lot more CPU load to MPD.
2009-03-03cmdline: Print available protocols when --version is run.Avuton Olrich1-0/+1
2009-03-02input_lastfm: new input plugin for last.fm radioMax Kellermann1-0/+1
The lastfm input plugin enables MPD to play lastfm:// URLs. This plugin is not complete yet: it plays only the first song in the last.fm playlist, and the playlist parser isn't even implemented properly.
2009-03-02tag_id3: parse ID3 tags in RIFF/WAV filesMax Kellermann1-0/+1
Added a small RIFF parser library. Look for an "id3" chunk, and let libid3tag parse it.
2009-03-02audio_format: allow 32 bit samplesMax Kellermann1-0/+1
This is the first patch in a series to enable 32 bit audio samples in MPD. 32 bit samples are more tricky than 24 bit samples, because the integer may overflow when you operate on a sample.
2009-03-01flac: parse stream tagsMax Kellermann1-0/+1
Parse the vorbis comments in libflac's metadata_callback and pass them as tag struct to the decoder API.
2009-03-01audiofile: added 24 bit supportMax Kellermann1-0/+1
Don't hard code the "bits" parameter to 16. Try to use the input's sample format, if possible.
2009-02-28output: added option to disable audio outputs by defaultMax Kellermann1-0/+1
The option "enabled" is on by default. If you specify "enabled no" in an audio_output section, then this device is disabled by default.
2009-02-28pipe: new audio output plugin which runs a commandMichal Nazarewicz1-0/+1
[mk: adapted to new output plugin API]
2009-02-28listen: allocate sockaddr_storage struct for accept()Max Kellermann1-0/+1
The generic sockaddr struct is too small for some addresses. For accept(), we have to allocate a sockaddr_storage struct on the stack, which is large enough for all addresses.
2009-02-27song_print: hide HTTP password in playlistMax Kellermann1-0/+1
Added the uri_remove_auth() library function which strips username and password from a HTTP URI, and use it in song_print_url(). This allows you to add HTTP URIs to the playlist including secret username and password, without disclosing it to all MPD clients.
2009-02-26mvp: fixed default device detectionMax Kellermann1-0/+1
The check "open()!=0" is wrong, you have to write "open()>=0", because -1 means error, and 0 is a valid file handle.
2009-02-25mvp: check for reopen errorsMax Kellermann1-0/+1
When the MVP device has been closed in the cancel() method, and the play() method attempts to reopen it, check for errors.
2009-02-25mvp: fall back to 16 bit audio samplesMax Kellermann1-0/+1
Looks like the MVP audio output only supports 16 and 24 bit audio samples. If MPD generates any other sample formats, force it to use 16 bit.
2009-02-25mvp: fall back to stereoMax Kellermann1-0/+1
When the channel count is greater than 2, fall back to stereo sound.
2009-02-15decoder_list: added configuration option to disable decoder pluginsMax Kellermann1-0/+1
2009-02-15daemon: ignore "user" setting if already running as that userMax Kellermann1-0/+1
If mpd.conf specifies a user, and MPD is invoked by exactly this user, ignore the "user" setting. Don't bother to look up its groups and don't attempt to change uid, it won't work anyway.
2009-02-14mpd version 0.14.2Avuton Olrich1-3/+1
2009-02-12update: free deleted subdirectoriesMax Kellermann1-0/+1
Use delete_directory() for removing sub directories instead of dirvec_clear(). This ensures that all memory occupied by subdirectories of deleted directories is freed.
2009-02-12update: recursively purge deleted directoriesMax Kellermann1-0/+1
When a directory is deleted, MPD deleted only the directory from the database; it did not bother to walk the full tree to free all memory and to remove deleted songs from the playlist. Replace a dirvec_delete() with delete_directory().