aboutsummaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAge
* audiofile: added 24 bit supportMax Kellermann2009-03-01
| | | | | Don't hard code the "bits" parameter to 16. Try to use the input's sample format, if possible.
* output: added option to disable audio outputs by defaultMax Kellermann2009-02-28
| | | | | The option "enabled" is on by default. If you specify "enabled no" in an audio_output section, then this device is disabled by default.
* pipe: new audio output plugin which runs a commandMichal Nazarewicz2009-02-28
| | | | [mk: adapted to new output plugin API]
* listen: allocate sockaddr_storage struct for accept()Max Kellermann2009-02-28
| | | | | | 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.
* song_print: hide HTTP password in playlistMax Kellermann2009-02-27
| | | | | | | 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.
* mvp: fixed default device detectionMax Kellermann2009-02-26
| | | | | The check "open()!=0" is wrong, you have to write "open()>=0", because -1 means error, and 0 is a valid file handle.
* mvp: check for reopen errorsMax Kellermann2009-02-25
| | | | | When the MVP device has been closed in the cancel() method, and the play() method attempts to reopen it, check for errors.
* mvp: fall back to 16 bit audio samplesMax Kellermann2009-02-25
| | | | | | 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.
* mvp: fall back to stereoMax Kellermann2009-02-25
| | | | When the channel count is greater than 2, fall back to stereo sound.
* decoder_list: added configuration option to disable decoder pluginsMax Kellermann2009-02-15
|
* daemon: ignore "user" setting if already running as that userMax Kellermann2009-02-15
| | | | | | 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.
* mpd version 0.14.2Avuton Olrich2009-02-14
|
* update: free deleted subdirectoriesMax Kellermann2009-02-12
| | | | | | Use delete_directory() for removing sub directories instead of dirvec_clear(). This ensures that all memory occupied by subdirectories of deleted directories is freed.
* update: recursively purge deleted directoriesMax Kellermann2009-02-12
| | | | | | | 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().
* aac: fix stream metadataMax Kellermann2009-02-12
| | | | | Pass the input_stream object to decoder_data(). Without it, the MPD core does not see stream tags.
* wildmidi: new decoder plugin for MIDI filesMax Kellermann2009-02-12
|
* fluidsynth: new decoder plugin for MIDI filesMax Kellermann2009-02-12
| | | | | | | | | | | | | | 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)
* sidplay: new decoder plugin for playing C64 SID filesMax Kellermann2009-02-11
|
* ffmpeg: added TTA supportMax Kellermann2009-02-11
| | | | | The ffmpeg library supports the "True Audio Codec". The entry in ffmpeg_suffixes was missing.
* configure.ac: define HAVE_FFMPEG after all checksMax Kellermann2009-02-09
| | | | | | 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.
* shout: clear buffer before calling the encoderMax Kellermann2009-02-09
| | | | | | | 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.
* shout: don't postpone metadataMax Kellermann2009-02-09
| | | | | Don't duplicate the tag received by the send_metadata() method - send it to the shout server directly.
* shout: use libshout's synchronizationMax Kellermann2009-02-09
| | | | | Removed the manual timer synchronization from the shout plugin. libshout's shout_sync() function does it for us.
* shout: switch to blocking modeMax Kellermann2009-02-09
| | | | | | 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.
* ffmpeg: fixed seek integer overflowMax Kellermann2009-02-03
| | | | | | | 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.
* ffmpeg: check if the time stamp is validMax Kellermann2009-02-03
| | | | | | 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.
* ffmpeg: don't warn of empty packet outputMax Kellermann2009-02-03
| | | | | | 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.
* shout_mp3: call lame_close() in clear_encoder() methodMax Kellermann2009-02-02
| | | | | | | | | | 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.
* player_thread: set player error when output device failsMax Kellermann2009-02-02
| | | | | | 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.
* mikmod: call MikMod_Exit() only in the finish() methodMatthias Drochner2009-01-30
| | | | | | | | | | | | | | | 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]
* wavpack: pass NULL if the .wvc file fails to openMax Kellermann2009-01-30
| | | | | | 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.
* mapper: remove trailing slashes from music_directoryMax Kellermann2009-01-30
| | | | | | 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.
* ffmeg: added support for the tags comment, genre, yearDavid Horn2009-01-30
| | | | | | | | | | | | 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.
* added support for the MMS protocolMax Kellermann2009-01-29
| | | | | | | 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.
* jack: reduced sleep time to 1msMax Kellermann2009-01-29
| | | | | | | | | | 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.
* jack: clear "shutdown" flag on reconnectMax Kellermann2009-01-29
| | | | | | | 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).
* jack: allocate ring buffers before connectingMax Kellermann2009-01-29
| | | | | If the ring buffers are allocated after jack_activate(), mpd_jack_process() might segfault because it attempts to access them.
* Modify version string to post-release version 0.14.2~gitAvuton Olrich2009-01-29
|
* tag: added support for MusicBrainz tagsMax Kellermann2009-01-24
| | | | | | | | | 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.
* playlist: don't unpause on deleteMax Kellermann2009-01-23
| | | | | When you delete a song from the playlist which was paused, MPD forgot that it was paused and started playing the next song.
* playlist: recalculate the queued song after random is toggledMax Kellermann2009-01-23
| | | | | | When the random mode is toggled, MPD did not clear the queue. Because of this, MPD continued with the next (random or non-random) song according to the previous mode. Clear the queued song to fix that.
* null: added option to disable timer synchronizationMax Kellermann2009-01-22
| | | | | | | The null plugin synchronizes the playback so it will happen in real time. This patch adds a configuration option which disables this: the playback will then be as fast as possible. This can be useful to profile MPD.
* NEWS: update change logMax Kellermann2009-01-22
|
* mapper: make the music_directory optionalMax Kellermann2009-01-18
| | | | Without a music_directory, MPD is an excellent streaming client.
* mapper: make the playlist directory optionalMax Kellermann2009-01-18
|
* mpd version 0.14.1Avuton Olrich2009-01-18
|
* oggvorbis: disable seeking on remote songsMax Kellermann2009-01-17
| | | | | | | | | | | | 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.
* pcm_resample_fallback: corrected the sample calculationMax Kellermann2009-01-16
| | | | | Due to rounding errors, it was possible that the fallback resampler returned partial frames.
* oggvorbis: define HAVE_OGGVORBIS when tremor is enabledMax Kellermann2009-01-15
| | | | When tremor (libvorbisidec) is used, HAVE_OGGVORBIS was not defined.
* input_curl: set "ready" flag on EOFMax Kellermann2009-01-15
| | | | Set the "ready" flag for empty resources.