aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS (unfollow)
Commit message (Collapse)AuthorFilesLines
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().
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-12wildmidi: new decoder plugin for MIDI filesMax Kellermann1-0/+1
2009-02-12fluidsynth: new decoder plugin for MIDI filesMax Kellermann1-0/+1
There are a few problems left in this plugin: - fluidsynth decodes in real time, while MPD prefers to buffer as quickly as possible; as a workaround, this plugin uses a timer object to synchronize with real-time playback - I don't know yet how fluidsynth tells me when the song has ended - the "soundfont" configuration setting is not yet documented, and it will likely change soon (in favor of a per-decoder configuration block)
2009-02-11sidplay: new decoder plugin for playing C64 SID filesMax Kellermann1-0/+1
2009-02-11ffmpeg: added TTA supportMax Kellermann1-1/+2
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-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-29added support for the MMS protocolMax Kellermann1-0/+1
This patch implements the MMS protocol, by using libmms. It is quite experimental: it does not support seeking yet, and it is currently using synchronous I/O, which causes MPD to hang while waiting for the server.
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-29Modify version string to post-release version 0.14.2~gitAvuton Olrich1-0/+3
2009-01-24tag: added support for MusicBrainz tagsMax Kellermann1-0/+1
Added all important id tags from the MusicBrainz wiki: http://musicbrainz.org/doc/MusicBrainzTag This should automatically enable its suport in the vorbis and flac decoder plugins.
2009-01-23playlist: don't unpause on deleteMax Kellermann1-0/+1
When you delete a song from the playlist which was paused, MPD forgot that it was paused and started playing the next song.