aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS (follow)
Commit message (Collapse)AuthorAgeFilesLines
* player_thread: drain audio outputs at the end of the playlistMax Kellermann2009-11-091-0/+2
| | | | | | | | When there's no queued song, and the current one has finished playing, first make sure that the hardware outputs have really finished playing the last chunk: call the drain() method in all audio outputs. Without this patch, MPD stopped playback shortly before the ALSA sound card had finished playing.
* set the close-on-exec flag on all file descriptorsMax Kellermann2009-11-071-0/+1
| | | | | | | | | | | Added the "fd_util" library, which attempts to use the new thread-safe Linux system calls pipe2(), accept4() and the options O_CLOEXEC, SOCK_CLOEXEC. Without these, it falls back to FD_CLOEXEC, which is not thread safe. This is particularly important for the "pipe" output plugin (and others, such as JACK/PulseAudio), because we were heavily leaking file descriptors to child processes.
* log: redirect stdout/stderr to /dev/null if syslog is usedMax Kellermann2009-11-071-0/+1
| | | | | Don't hold a file descriptor on root's tty when syslog is used for logging.
* output/jack: added option "server_name"Max Kellermann2009-11-071-1/+1
|
* output/jack: dynamic source port listMax Kellermann2009-11-061-1/+1
| | | | | | Same as the previous patch: create up to 16 configured source ports. The plugin tries to do its best at guessing the right combination for the given input file, the number of source and destination ports.
* output/jack: renamed option "ports" to "destination_ports"Max Kellermann2009-11-061-0/+1
| | | | Be more clear which kind of port should be configured here.
* playlist: added extm3u pluginMax Kellermann2009-11-061-1/+1
| | | | | This new plugin parses extm3u files. Files without the "#EXTM3U" header are still parsed by the plain old "m3u" plugin.
* output/httpd: bind port when output is enabledMax Kellermann2009-11-051-1/+2
| | | | | | Implement the methods enable() and disable(). Bind the HTTP port in the enable() method, but reject all incoming connections until the output is opened.
* output/jack: support mono inputMax Kellermann2009-11-051-0/+1
| | | | | When MPD plays a mono song (audio_format.channel==1), connect only one source port to both destination ports.
* output/jack: clear ring buffers before activatingMax Kellermann2009-11-051-0/+1
| | | | | | After playback has stopped, the ring buffers may still contain samples. These will be played when playback is started the next time. We should clear the buffers each time.
* output/jack: use jack_client_open() instead of jack_client_new()Max Kellermann2009-11-051-0/+1
| | | | | | | | jack_client_new() is deprecated. This requires libjack 0.100 (released nearly 5 years ago). We havn't been testing older libjack versions anyway. As a side effect, there is the new option "autostart".
* output/jack: added option "client_name"Max Kellermann2009-11-051-0/+1
| | | | | | Instead of using MPD's audio output name (setting "name"), use a separate configuration option. Change the default to "Music Player Daemon".
* database: rescan after metadata_to_use changeMax Kellermann2009-11-041-0/+1
| | | | | | Store a list of supported tag items in the database. When loading a database which does not have a matching list, we must rescan in order to get the missing information.
* text_file: allocate line buffers dynamicallyMax Kellermann2009-11-011-0/+1
| | | | | | | Use a single GString buffer object in all functions loading the database. Enlarge it automatically for long lines. This eliminates the maximum line length for tag values. There is still an upper limit of 512 kB to prevent denial of service, but that's reasonable I guess.
* Merge branch 'v0.15.x'Max Kellermann2009-10-311-0/+7
|\ | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/decoder/ffmpeg_plugin.c src/update.c
| * decoder/ffmpeg: convert metadataMax Kellermann2009-10-281-0/+2
| | | | | | | | | | | | Convert the metadata with the libavformat function av_metadata_conv(). This ensures that canonical tag names are provided by libavformat, and we can remove the "artist" vs "author" workaround.
| * update: delete ignored symlinks from databaseMax Kellermann2009-10-271-0/+1
| | | | | | | | | | | | When you disable the "follow_outside_symlinks" or the "follow_inside_symlinks" setting, the next update should remove the now-ignored files from the database.
| * output_thread: check again if output is open on PAUSEMax Kellermann2009-10-211-0/+1
| | | | | | | | | | Basically the same as the 0.15.5 patch "check again if output is open on CANCEL". Same race condition, same fix.
| * Modify version string to post-release version 0.15.6~gitAvuton Olrich2009-10-181-0/+3
| |
* | songvec: sort songs by album name first, then disc/track numberMax Kellermann2009-10-311-0/+1
| | | | | | | | | | When the songs of two albums are in the same directory, all songs of an album should be right next to each others.
* | output: consistently lock audio output objectsMax Kellermann2009-10-291-0/+1
| | | | | | | | | | Always keep the audio_output object locked within the output thread, unless a plugin method is called. This fixes several race conditions.
* | output/alsa: don't recover on CANCELMax Kellermann2009-10-291-0/+1
| | | | | | | | | | | | The recovery is for nothing if we get CLOSE afterwards. Let's not recover in the cancel() method, and let the next play() call sort it out.
* | playlist: new ASX playlist pluginMax Kellermann2009-10-211-1/+1
| | | | | | | | Based on the XSPF playlist plugin.
* | audio_format: wildcards allowed in audio_format configurationMax Kellermann2009-10-211-0/+1
| | | | | | | | | | | | An asterisk means that this attribute should not be enforced, and stays whatever it used to be. This way, some configuration values work like masks.
* | output/jack: connect to server on MPD startupMax Kellermann2009-10-211-0/+1
| | | | | | | | | | .. and keep up the JACK connection while MPD runs. Allocate the ring buffers on the first open, and free them at MPD exit.
* | output/jack: implement the "pause" methodMax Kellermann2009-10-211-0/+1
| | | | | | | | Don't disconnect from JACK during pause.
* | pulse: code rewrite using the asynchronous libpulse APIMax Kellermann2009-10-211-0/+1
| | | | | | | | | | | | | | | | This is a complete rewrite of the PulseAudio output plugin. It uses the asynchronous API, which gives us more control over everything. Additionally, it connects to the PulseAudio server on startup, and keeps this connection up while MPD runs. During pause, instead of closing the stream, it enables "cork".
* | output/pulse: renamed context to "Music Player Daemon"Max Kellermann2009-10-201-0/+1
| | | | | | | | This looks nicer in the PulseAudio manager than just "mpd".
* | pulse: announce "media.role=music"Max Kellermann2009-10-201-0/+1
| | | | | | | | This allows PulseAudio to do some advanced tweaks.
* | Merged release 0.15.5 from branch 'v0.15.x'Max Kellermann2009-10-181-1/+5
|\| | | | | | | | | | | | | | | Conflicts: NEWS configure.ac src/decoder/flac_plugin.c src/update.c
| * mpd version 0.15.5release-0.15.5Avuton Olrich2009-10-181-1/+1
| |
| * decoder/flac: fixed two memory leaks in the CUE tag loaderMax Kellermann2009-10-161-0/+2
| | | | | | | | | | | | Don't initialize "vc" and "cs" with FLAC__metadata_object_new(); that value is overwritten by FLAC__metadata_get_tags() and FLAC__metadata_get_cuesheet().
| * update: fixed memory leak during container scanMax Kellermann2009-10-161-0/+1
| | | | | | | | The return value of map_directory_child_fs() must be freed.
| * output_thread: check again if output is open on CANCELMax Kellermann2009-10-161-0/+1
| | | | | | | | | | | | | | | | When the player thread unpauses, it sends CANCEL to the output thread, after having checked that the output is still open. Problem is when the output thread closes the device before it can process the CANCEL command - race condition. This patch adds another "open" check inside the output thread.
* | command: omitting the range end is possibleMax Kellermann2009-10-181-0/+1
| | | | | | | | | | When the range end is missing, then the maximum possible value is assumed.
* | command: allow changing replay gain mode on-the-flyMax Kellermann2009-10-171-0/+1
| | | | | | | | | | The new command "replay_gain_mode" allows the user to switch the replay gain mode on-the-fly. No more mpd.conf editing.
* | update: obey .mpdignore filesMax Kellermann2009-10-161-1/+3
| |
* | Add PLS ParserQball Cow2009-10-151-1/+1
| |
* | input/lastfm: removed obsolete last.fm input pluginMax Kellermann2009-10-131-1/+1
| | | | | | | | | | | | This has been replaced by the last.fm playlist plugin. The input plugin has never worked well, and was just a playground to experiment with the last.fm radio protocol.
* | command: "load" supports remote playlists (m3u, xspf, lastfm://)Max Kellermann2009-10-131-0/+1
| | | | | | | | | | | | This patch integrates the playlist plugin API to the MPD core. We'll be able to do much more in the future with that API, that's just the beginning.
* | Merge branch 'v0.15.x'Max Kellermann2009-10-131-0/+1
|\|
| * input/curl: fixed endless loop during bufferingMax Kellermann2009-10-131-0/+1
| | | | | | | | | | | | | | When the connection is lost while buffering, the CURL input plugin may enter an endless loop, because it does not check the EOF condition. This patch makes fill_buffer() return success only if there's at least one buffer, which is enough of a check.x
* | configure.ac: require GLib 2.16Max Kellermann2009-10-131-0/+1
| | | | | | | | | | | | | | Accidently, MPD has been using several GLib 2.16 functions for a while, and nobody noticed yet. To simplify the code base, let's bump the minimum GLib version for MPD to 2.16. That version is old enough, and it's reasonable to expect users to have it.
* | Merge branch 'v0.15.x'Max Kellermann2009-10-111-0/+8
|\| | | | | | | | | | | | | Conflicts: NEWS configure.ac
| * riff, aiff: fixed "limited range" gcc warningMax Kellermann2009-10-111-0/+2
| | | | | | | | | | | | On 32 bit systems with large file support enabled (i.e. "sizeof(off_t) > sizeof(size_t)") gcc emits a warning because a size_t cast to off_t can never become negative.
| * decoder_thread: change the fallback decoder name to "mad"Max Kellermann2009-10-111-0/+1
| | | | | | | | | | | | When there is no Content-Type response header, try the "mad" decoder plugin. It uesd to be named "mp3", and we forgot to change the fallback name in decoder_thread.c.
| * input/curl: don't abort if a packet has only metadataMax Kellermann2009-10-111-0/+2
| | | | | | | | | | | | | | | | | | When a received chunk of data has only icy-metadata, there was no usable data left for input_curl_read() to return, and thus it returned 0 bytes. "0" however is a special value for "end of file" or "error". This patch makes input_curl_read() read more data from the socket, until the read request can be fulfilled (or until there's really EOF).
| * Modify version string to post-release version 0.15.5~gitAvuton Olrich2009-10-031-0/+3
| |
* | doc/protocol.xml: "addid" with negative position is deprecatedMax Kellermann2009-10-091-0/+1
| |
* | playlist_control: "previous" really plays the previous songMax Kellermann2009-10-081-0/+1
| | | | | | | | | | | | | | No more CD player emulation. The current behaviour of "previous" is difficult for a client to predict, because it does not definitely know the current position within the song. If a client wants to restart the current song, it can always send "playid".