- 04 Sep, 2020 10 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Sometimes, zzip_file_read() returns 0 even though the end of the file was not reached. This causes assertion failures in DecoderBridge::Read(). Closes https://github.com/MusicPlayerDaemon/MPD/issues/935
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This eliminates a tiny amount of overhead because the compiler can choose how to pass the parameter.
-
Max Kellermann authored
-
Max Kellermann authored
This fixes the Windows build. Linking failed because some packages (e.g. libFLAC) default to enabling `_FORTIFY_SOURCE`, which is broken in recent mingw versions (https://github.com/msys2/MINGW-packages/issues/5803).
-
Max Kellermann authored
While libsndfile doesn't like partial reads in the middle of a file (see commit 95ac6071), it allows partial reads at the end of a file. It doesn't pay attention to the file size when issuing a read. Commit ecb67a1e (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 ecb67a1e. Closes https://github.com/MusicPlayerDaemon/MPD/issues/936
-
Max Kellermann authored
-
Max Kellermann authored
-
- 14 Aug, 2020 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Our AudioObjectGetPropertyDataT() wrapper throws exception on error, and calling it from OSXOutput::Disable() can cause MPD crash due to std::terminate(). Closes https://github.com/MusicPlayerDaemon/MPD/issues/932
-
Max Kellermann authored
We could exclude that feature if neither ALSA nor httpd are enabled, but that's too complicated for this small debug program.
-
- 23 Jul, 2020 1 commit
-
-
Rosen Penev authored
Need to check for it in iconv.h. Otherwise meson prefixes a __builtin variant in the check.
-
- 20 Jul, 2020 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
According to https://developer.android.com/ndk/guides/audio/opensl/android-extensions This feature was mentioned in https://github.com/MusicPlayerDaemon/MPD/issues/922
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
- 16 Jul, 2020 2 commits
-
-
Max Kellermann authored
`LogLevel::INFO` is logged by default, but this message shall only appear with `--verbose`. This finally solves https://github.com/MusicPlayerDaemon/MPD/issues/430
-
Max Kellermann authored
-
- 06 Jul, 2020 16 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
This fixes compatibility with Plex DLNA. Closes https://github.com/MusicPlayerDaemon/MPD/issues/851
-
Max Kellermann authored
Stop bothering people about the Tidal/Qobuz plugins.
-
Max Kellermann authored
Make LogError()/FormatError() wrappers for those. Now we can log exceptions with a lower level.
-
Max Kellermann authored
Prepare for templated functions.
-
Max Kellermann authored
Print all nested exceptions on a single line to avoid confusion.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/864
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/841
-
Max Kellermann authored
Mounting one storage URI twice on different mount points can lead to conflicts with the database cache file, and it doesn't make a lot of sense. But most importantly, our udisks storage plugin will unmount the disk from the kernel VFS, and if two exist, they will compete with each others. We could (and should) fix this in the udisks storage plugin, but for now, this workaround is good enough (and useful).
-
Max Kellermann authored
When mounting something over a directory that is already a mount point, CompositeStorage::Mount() silently overwrites the previously mounted storage, disposing it. After that, SimpleDatabase::Mount() will fail and handle_mount() will roll back the CompositeStorage::Mount() command, effectively unmounting what was there before (and also leaking memory). Closes https://github.com/MusicPlayerDaemon/MPD/issues/918
-
Max Kellermann authored
Fixes the "Unrecognized URI" error with the udisks storage plugin, which is caused by the kludge in UdisksStorage::MapUTF8().
-
Max Kellermann authored
-