- 21 May, 2023 40 commits
-
-
Max Kellermann authored
libfmt version 10 has difficulties formatting a `StringBuffer`, and we need to help it by explicitly invoking the `c_str()` method.
-
Max Kellermann authored
libfmt version 10 apparently doesn't know how to format a `StringBuffer`, failing the MPD build. Since we have a formatter specialization for `AudioFormat`, let's use that - it's better and easier to use. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1807
-
Max Kellermann authored
Fixes assertion failure if the ZIP file contains a path that begins with a slash. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1793
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Benjamin Cremer authored
-
datasone authored
Fixes hide_playlist_targets not working after server restart Currently, `hide_playlists_targets` works by skipping songs with `in_playlist` value set to true in [`Directory::Walk`](https://github.com/MusicPlayerDaemon/MPD/blob/a57bcd02382947abbd961594cdf00302c0c7866a/src/db/plugins/simple/Directory.cxx#L237). But `in_playlist` is not stored and only updated in [`UpdateWalk::PurgeDanglingFromPlaylists`](https://github.com/MusicPlayerDaemon/MPD/blob/a57bcd02382947abbd961594cdf00302c0c7866a/src/db/update/Playlist.cxx#L139), which will only be executed while updating DB. This causes the problem that playlist target songs are correctly hidden after database update, but will remain visible after mpd server restarted. This pr solves the problem by storing `in_playlist` value of songs into the `SimpleDatabase` file.
-
kaliko authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This allows dropping a few compile-time version checks and we can use pkg-config to detect the library.
-
Max Kellermann authored
This got lost 8 years ago in commit 87c88fcb D'oh!
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
According to https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS_INIT.html the _INIT variables should be set in the toolchain file.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Right now, zlib is only built for Windows, but we may eventually changed that, so don't hard-code `win32/Makefile.gcc`.
-
Max Kellermann authored
-
Max Kellermann authored
Make sure all the gory details are visible in CI logs.
-
Max Kellermann authored
For better error logs on CI.
-
Felix Hädicke authored
-
Felix Hädicke authored
-
Felix Hädicke authored
-
Max Kellermann authored
-
Max Kellermann authored
By default, if the parent of a process dies, the process gets SIGHUP and is supposed to shut down. This however doesn't work for MPD, because MPD redefines SIGHUP with a different meaning (like most daemons do). To work around this, we configure the kernel to send SIGTERM instead of SIGHUP. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1706
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Naïm Favier authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Fixes a busy loop in BufferingInputStream::RunThreadLocked() because the method never learns that seeking is ignored, even though the HTTP stream is already broken and can never be read; nobody cared to check for errors. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1727
-
Max Kellermann authored
-