- 08 Aug, 2022 1 commit
-
-
Max Kellermann authored
-
- 08 Jul, 2022 11 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
The Read() method is not required to fill the whole buffer. By returning as soon as at least one byte was read, we allow faster cancellation.
-
Max Kellermann authored
-
Max Kellermann authored
If seeking fails, don't leave the class with a wrong offset.
-
Max Kellermann authored
-
Max Kellermann authored
Use "size" instead.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
cdio_get_devices_with_cap() can return nullptr if no drive was found, or it can instead return an empty list. The latter caused MPD to crash.
-
Max Kellermann authored
-
- 01 Jul, 2022 1 commit
-
-
Max Kellermann authored
-
- 03 Dec, 2021 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Nov, 2021 2 commits
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 19 Nov, 2021 1 commit
-
-
Max Kellermann authored
Fixes building with GCC 12.
-
- 12 Nov, 2021 1 commit
-
-
Rosen Penev authored
SonarLint reports the latter to be better: std::scoped_lock basically provides the same feature as std::lock_guard, but is more generic: It can lock several mutexes at the same time, with a deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code to perform simultaneous locking with std::lock_guard is significantly more complex. Therefore, it is simpler to use std::scoped_lock all the time, even when locking only one mutex (there will be no performance impact). Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 04 Nov, 2021 1 commit
-
-
Max Kellermann authored
-
- 22 Oct, 2021 1 commit
-
-
Max Kellermann authored
Without clearing the "uri" field, the next Open() call attempts to reuse the old InputStream, but it has already been closed, so Open() always returns nullptr. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1300
-
- 19 Oct, 2021 1 commit
-
-
Max Kellermann authored
-
- 13 Oct, 2021 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 26 Aug, 2021 1 commit
-
-
Rosen Penev authored
Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 05 Aug, 2021 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This plugin has been defunct for several years. Tidal has not ever replied to any of my emails, so they're apparently not interested in MPD support.
-
- 02 Aug, 2021 1 commit
-
-
Max Kellermann authored
ProxyInputStream::Read() assigns the `offset` field, which is the wrong offset because it does not consider Icy metadata removed from the stream. Therefore, after every ProxyInputStream::Read() call, IcyInputStream::Read() needs to override this offset. This was missing at the end of the stream, when Read()==0. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1216
-
- 25 Jun, 2021 1 commit
-
-
Max Kellermann authored
-
- 24 Jun, 2021 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 31 May, 2021 1 commit
-
-
Rosen Penev authored
Found with cppcoreguidelines-special-member-functions Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 27 May, 2021 2 commits
-
-
Max Kellermann authored
Prevents a possible bug which occurs when the caller-provided open() function throws; then the "uri" field is never set.
-
Max Kellermann authored
Prevent false negative after the stream was closed automatically after 20 seconds.
-
- 22 May, 2021 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1168
-
- 21 May, 2021 1 commit
-
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1165
-
- 18 May, 2021 1 commit
-
-
Max Kellermann authored
-
- 17 May, 2021 1 commit
-
-
Max Kellermann authored
With the default value CURLAUTH_ANY, libcurl needs to probe for authentication methods first, and only the second request will have an Authorization header. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1155
-
- 04 Mar, 2021 1 commit
-
-
Rosen Penev authored
Shorter. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-