aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-13Modify version string to post-release version 0.14.3~gitv0.14.xAvuton Olrich1-0/+3
2009-02-13mpd 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().
2009-02-12aac: fix stream metadataMax Kellermann1-0/+1
Pass the input_stream object to decoder_data(). Without it, the MPD core does not see stream tags.
2009-02-11ffmpeg: added TTA supportMax Kellermann1-0/+1
The ffmpeg library supports the "True Audio Codec". The entry in ffmpeg_suffixes was missing.
2009-02-09configure.ac: define HAVE_FFMPEG after all checksMax Kellermann1-0/+2
Don't define HAVE_FFMPEG if the ffmpeg libraries were found via pkg-config, but ffmpeg support was disabled because avcodec_decode_audio2() is not available.
2009-02-09shout: clear buffer before calling the encoderMax Kellermann1-0/+1
Always assume the buffer is empty before calling the encoder. Always flush the buffer immediately after there has been added something. This reduces the risk of buffer overruns, because there will never be a "rest" in the current buffer.
2009-02-09shout: don't postpone metadataMax Kellermann1-0/+1
Don't duplicate the tag received by the send_metadata() method - send it to the shout server directly.
2009-02-09shout: use libshout's synchronizationMax Kellermann1-0/+1
Removed the manual timer synchronization from the shout plugin. libshout's shout_sync() function does it for us.
2009-02-09shout: switch to blocking modeMax Kellermann1-0/+1
The non-blocking mode of libshout is sparsely documented, and MPD's implementation had several bugs. Also removed connect throttling code, that is done by the MPD core since 0.14.
2009-02-04ffmpeg: enable WAV streamingQball Cow1-0/+1
2009-02-03ffmpeg: fixed seek integer overflowMax Kellermann1-0/+1
The "current" variable is used for calculating the seek destination, and was declared as "int". With very long song files, the 32 bit integer can overflow. ffmpeg expects an int64_t, which is very unlikely to overflow. Switch to int64_t.
2009-02-03ffmpeg: check if the time stamp is validMax Kellermann1-0/+1
When ffmpeg cannot estimate the elapsed time, it sets AVPacket.pts=AV_NOPTS_VALUE. Our ffmpeg decoder plugin did not check for that special value.
2009-02-03ffmpeg: don't warn of empty packet outputMax Kellermann1-0/+1
If avcodec_decode_audio2() returns no output for an AVPacket, libavcodec may buffer some data, and return a larger chunk of output later. This patch disables a lot of bogus warnings.
2009-02-02shout_mp3: call lame_close() in clear_encoder() methodMax Kellermann1-0/+1
The shout_mp3 encoder had two bugs: when no song was ever played, MPD segfaulted during cleanup. Second bug: memory leak, each time the shout device was opened, lame_init() was called again, and lame_close() is only called once during shutdown. Fix this by shutting down LAME each time the clear_encoder() method is called.
2009-02-02player_thread: set player error when output device failsMax Kellermann1-0/+1
When the output device fails to play a chunk, set pc.error to PLAYER_ERROR_AUDIO. This way, the playlist knows that it should not queue the next song.
2009-01-30mikmod: call MikMod_Exit() only in the finish() methodMatthias Drochner1-0/+1
Hi - independently of libmikmod's other problems - there seems to be a problem in mpd's wrapper: MikMod_Exit() is called after the first file is decoded, which frees some ressources within the mikmod library. An attempt to play a second file leads to a crash. The appended patch fixes this for me. (I don't know what the "dup" entry is good for - someone who knows should review that too.) best regards Matthias [mk: removed 3 more MikMod_Exit() invocations]
2009-01-30wavpack: pass NULL if the .wvc file fails to openMax Kellermann1-0/+1
The wavpack library seems to use the .wvc stream even if the OPEN_WVC flag is not set. In this case, pass NULL to be sure libwavpack won't use it.
2009-01-30mapper: remove trailing slashes from music_directoryMax Kellermann1-0/+1
When the user configures a music_directory with a trailing slash, it may break playlist loading, because MPD expects a double slash. Chop off the trailing slash.
2009-01-30ffmeg: added support for the tags comment, genre, yearDavid Horn1-0/+2
ffmpeg_tag_internal() does not look for a few tags that mpd supports. Most noteably: comment -> TAG_ITEM_COMMENT -> Description genre -> TAG_ITEM_GENRE -> WM/Genre (not WM/GenreID) year -> TAG_ITEM_DATE -> WM/Year I *think* that this is the last of the tags that AVFormatContext() in ffmpeg supports that mpd also uses.
2009-01-29jack: reduced sleep time to 1msMax Kellermann1-0/+1
When waiting for free space in the ring buffer, the JACK plugin sleeped 10ms until there is enough space. This delay was too large for low-latency setups (<10ms), and created a lot of xruns. Work around that by reducing the sleep time to 1ms. A proper solution for this would be to use an event based approach, and we will do it, just not now.
2009-01-29jack: clear "shutdown" flag on reconnectMax Kellermann1-0/+1
When the connection failed once, you had to restart MPD, because it never cleared the jack_data.shutdown flag. Instead, it refused to play anything "because there is no client thread" (which is wrong at that point).
2009-01-29jack: allocate ring buffers before connectingMax Kellermann1-0/+2
If the ring buffers are allocated after jack_activate(), mpd_jack_process() might segfault because it attempts to access them.
2009-01-17Modify version string to post-release version 0.14.2~gitAvuton Olrich1-0/+3
2009-01-17mpd version 0.14.1release-0.14.1Avuton Olrich1-1/+1
2009-01-17oggvorbis: disable seeking on remote songsMax Kellermann1-0/+1
When libvorbis knows that a song is seekable, it seeks around like crazy in the file before starting to decode it. This is very expensive on remote HTTP resources, and delays MPD for 10 or 20 seconds. This patch disables seeking on remote songs, because the advantages of quickly playing a song seem to weigh more than the theoretical ability of seeking for most MPD users. If users feel this feature is needed, we will make a configuration option for that.
2009-01-16pcm_resample_fallback: corrected the sample calculationMax Kellermann1-0/+1
Due to rounding errors, it was possible that the fallback resampler returned partial frames.
2009-01-15oggvorbis: define HAVE_OGGVORBIS when tremor is enabledMax Kellermann1-0/+1
When tremor (libvorbisidec) is used, HAVE_OGGVORBIS was not defined.
2009-01-15input_curl: set "ready" flag on EOFMax Kellermann1-0/+1
Set the "ready" flag for empty resources.
2009-01-15input_curl: call curl_multi_info_read() in constructorMax Kellermann1-0/+1
To check for early connect failures, call curl_multi_info_read() in the constructor input_curl_open(). This fixes an assertion failure.
2009-01-14playlist: safely search the playlist for deleted songMax Kellermann1-2/+4
When a song file is deleted during database update, all pointers to it must be removed from the playlist. The "for" loop in deleteASongFromPlaylist() did not deal with multiple copies of the deleted song properly, and left instances of the (to-be-invalidated) pointer in. Fix this by reversing the loop.
2009-01-13input_curl: honour http_proxy_* config directivesJoe Milbourn1-0/+1
If http_proxy_{host, port, user, password} are provided in mpd.conf they are not passed on to libcurl. As a result mpd cannot stream from behind an http proxy. The attached patch `http_proxy.patch` makes the relevant calls to curl_easy_setopt(...) for all proxy configuration parameters, but is only tested for host and port.
2009-01-13playlist: implement Fisher-Yates shuffle properlyMax Kellermann1-0/+1
MPD's shuffling algorithm was not implemented well: it considers songs which were already swapped, making it somewhat non-random. Fix the Fisher-Yates shuffle algorithm by passing the proper bounds to the PRNG.
2009-01-13input_curl: use select() to eliminate busy loop during connectMax Kellermann1-0/+2
When decoder_run_song() (decoder_thread.c) waits for the input stream to become ready, it did that in a busy loop. Add a select() call to input_curl_buffer() during connect/handshake (i.e. before the first chunk of body data was received), to let the CPU relax.
2009-01-13update: save the database even if it is emptyMax Kellermann1-0/+1
Save an empty database, even if the music directory is empty.
2009-01-13pcm_utils: use the custom PRNG for volume ditheringMax Kellermann1-0/+1
Don't use libc's rand() function, because it is slow. Our own trivial linear congruential generator is good enough for dithering.
2009-01-13update: refresh stats when database update is finishedMax Kellermann1-0/+2
2009-01-13configure.ac: detect libid3tag without pkg-configMax Kellermann1-0/+1
libid3tag comes without a pkg-config file, and it is usually added by distribution packages. For those without .pc file, attempt to auto-detect the library with AC_CHECK_LIB.
2009-01-13playlist: log errors during loadPlaylist()Max Kellermann1-0/+1
Don't call command_error() if loading a song from the playlist fails. This may result in assertion failures, since command_error() may be called more than once.
2009-01-04player_thread: fix cross-fading duplicate chunk bugMax Kellermann1-0/+1
When the decoder of the new song is not fast enough, the player thread has to wait for it for a moment. However the variable "nextChunk" was reset to -1 during that, making the next loop iteration assume that cross-fading has not begun yet. This patch overwrites it with "0" while waiting.
2009-01-04decoder_api: moved code to do_send_tag(), free temporary tagMax Kellermann1-0/+1
This patch fixes a minor memory leak: when decoder_tag() attempted to send a merged tag object (created by tag_add_stream_tags()), and was interrupted by a decoder command, it did not free the temporary merged tag object.
2009-01-04NEWS: updated NEWS file for 0.14.1Max Kellermann1-1/+10
2009-01-02configure.ac: version number 0.14.1~gitMax Kellermann1-0/+2
2008-12-25MPD version 0.14release-0.14Avuton Olrich1-5/+1
2008-12-24configure.ac: disable the mikmod plugin by defaultMax Kellermann1-0/+1
libmikmod seems to be unmaintained, and has several critical bugs which make MPD crash. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461519 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476339 Disable the plugin by default to minimize harm. Users should explicitly enable the mikmod decoder (--enable-mod) if they wish to have it anyway.
2008-12-20Word wrap to 80 char linesAvuton Olrich1-23/+51
2008-12-20Start off with a disclaimer about the NEWS file informationAvuton Olrich1-0/+2
2008-12-02NEWS: added new featuresMax Kellermann1-0/+4
2008-11-05NEWS: updated 0.14 changelogMax Kellermann1-0/+12
Adding some of the most important changes since 0.13.