music player daemon (fork)
Go to file
Max Kellermann 0aa0ffb67b decoder/sndfile: allow partial reads at end of file
While libsndfile doesn't like partial reads in the middle of a file
(see commit 95ac6071b9), it allows partial reads at the end of a file.
It doesn't pay attention to the file size when issuing a read.

Commit ecb67a1ed1 (MPD 0.18.12) was a regression: previously,
partial reads at the end of a file were possible, but switching to
decoder_read_full() made this an error condition.  This way, a portion
at the end of each file was lost, leading to corruption with gapless
playback (https://github.com/MusicPlayerDaemon/MPD/issues/936).

This fix switches to the newly introduced function
decoder_read_much(), which does the same as the code before commit
ecb67a1ed1.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/936
2020-09-04 13:35:00 +02:00
android increment version number to 0.21.26 2020-07-16 12:53:22 +02:00
build build/pkg-config.sh: add comment 2019-02-22 12:39:59 +01:00
doc doc/plugins.rst: document sample formats for OpenSLES 2020-07-20 15:27:41 +02:00
python/build python/build/libs.py: update CURL to 7.71.1 2020-07-20 12:37:54 +02:00
src decoder/sndfile: allow partial reads at end of file 2020-09-04 13:35:00 +02:00
systemd systemd: add user socket unit 2019-04-10 16:37:13 +02:00
test test/meson.build: add explicit dependency from run_output on libevent.a 2020-08-14 14:40:39 +02:00
win32 {android,win32}/build.py: enable the GME decoder plugin 2020-06-10 21:33:29 +02:00
.gitignore .gitignore: add emacs lsp-mode files 2020-05-26 21:07:56 +02:00
.travis.yml .travis.yml: disable zzip on OS X to fix Travis-CI build failure 2020-05-27 15:31:34 +02:00
AUTHORS AUTHORS: add 0.21 contributors 2018-10-31 17:59:54 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
meson_options.txt meson: add fixed-point Vorbis (Tremor) decoder support 2019-01-21 08:35:17 +01:00
meson.build increment version number to 0.21.26 2020-07-16 12:53:22 +02:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
NEWS decoder/sndfile: allow partial reads at end of file 2020-09-04 13:35:00 +02:00
README.md release v0.20.7 2017-05-15 23:01:49 +02:00
valgrind.suppressions valgrind.suppressions: add GObject/libgcrypt/libsmbclient suppressions 2019-02-05 22:53:02 +01:00

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.