
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 ecb67a1ed16e9 (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 ecb67a1ed16e93. Closes https://github.com/MusicPlayerDaemon/MPD/issues/936
Music Player Daemon
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.
Description
Languages
C++
94.2%
Meson
2.9%
Python
1.4%
Kotlin
0.9%
Java
0.3%
Other
0.2%