- 27 Apr, 2020 3 commits
-
-
Sören Tempel authored
The parser implemented in libmpdclient requires the first key-value pair of the server response to be the file pair. This is due to the fact that libmpdclient scan pairs sequentially and first attempts to extract the file pair before parsing the currentsong response further. See: https://github.com/MusicPlayerDaemon/libmpdclient/blob/5c751a761ec9f71a43ee0e41cfff3208f31a58b8/src/song.c#L559-L563 Meta data encoded as pairs in the currentsong response will be ignored if they are placed before the file pair in the response.
-
Max Kellermann authored
Fixes breakage of non-ASCII characters, regression from commit cc72ceb3 Fixes https://github.com/MusicPlayerDaemon/MPD/issues/842
-
Max Kellermann authored
Prepare to fix cc72ceb3
-
- 26 Apr, 2020 2 commits
-
-
John Regan authored
-
John Regan authored
Also include fade-out time in song length.
-
- 24 Apr, 2020 8 commits
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/838
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This reduces resource waste for resizing the std::vector in most cases.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Optimizes a few nanoseconds from the common code path.
-
Max Kellermann authored
-
- 23 Apr, 2020 13 commits
-
-
Naglis Jonaitis authored
-
Max Kellermann authored
release v0.21.23
-
Max Kellermann authored
-
Max Kellermann authored
libnfs is compiled with `-D_FILE_OFFSET_BITS=64`, but Meson decides not to enable this mode. We could force this mode, but then again, these days, nobody should be using 32-bit Windows ... so this is a kludge only for debugging with 32-bit WINE.
-
Max Kellermann authored
Fixes Path::IsNull() checks on Windows.
-
Max Kellermann authored
-
Max Kellermann authored
This fixes a freeze bug in the NFS input/storage plugins: when libnfs auto-reconnets after a failure, it installs the new socket on the same file descriptor number. MPD's attempt to unregister the old socket by calling SocketMonitor::Steal() from NfsConnection::ScheduleSocket() fails because the new/old socket number is not registered in epoll, so epoll_ctl() returns ENOENT. The problem is that it left `scheduled_flags`, and so subsequent Schedule() calls will use `EPOLL_CTL_MOD`, which will fail again and again. Instead, we need to use `EPOLL_CTL_ADD` to register the new socket. Closes https://github.com/MusicPlayerDaemon/MPD/issues/806 Closes https://github.com/MusicPlayerDaemon/MPD/issues/756
-
Max Kellermann authored
This flag is output-only.
-
Max Kellermann authored
These flags are output-only.
-
Max Kellermann authored
These flags are output-only. Using them here is misleading.
-
Max Kellermann authored
-
Max Kellermann authored
The object's state is `IDLE` when OnNfsCallback() gets invoked, so let's use the start of the method to reset the `state` field.
-
Max Kellermann authored
Fixes assertion failure if the callback fails.
-
- 22 Apr, 2020 10 commits
-
-
geneticdrift authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/832
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/833
-
Max Kellermann authored
Using CompareStringEx() and FindNLSStringEx(). Implements a missing piece for https://github.com/MusicPlayerDaemon/MPD/issues/820
-
Max Kellermann authored
-
Max Kellermann authored
LINGUISTIC_IGNORECASE is unimplemented on Wine, but since we don't have any locale support (yet), and we're using LOCALE_NAME_INVARIANT, NORM_IGNORECASE should essentially be the same, so why bother.
-
Max Kellermann authored
Reverts commit fb3564fb LCMapStringEx() doesn't do what I imagined it would do 5 years ago. D'oh! Closes https://github.com/MusicPlayerDaemon/MPD/issues/820
-
Rosen Penev authored
Switching == to >= should be safe here since the next if is the opposite. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-use-auto. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-raw-string-literal Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Found with modernize-use-nodiscard Signed-off-by: Rosen Penev <rosenp@gmail.com>
-
- 15 Apr, 2020 3 commits
-
-
Thomas Guillem authored
Unescape the base path and the path coming from the server (href) to fix the comparison when the server uses different escaped characters. The outputted name need to be unescaped. Doing that before or after the HrefToEscapedName() call should not change the current behavior.
-
Thomas Guillem authored
If the file name is "Hello & bye", 3 CharacterData events will be sent with the State::HREF state: - "Hello%20" - "&" - "%20bye" Reproduced with files hosted on an apache2 DAV server: 2.4.38-3+deb10u3.
-
Florian Heese authored
-
- 14 Apr, 2020 1 commit
-
-
Max Kellermann authored
-