- 16 Feb, 2021 4 commits
-
-
Max Kellermann authored
release v0.22.6
-
Max Kellermann authored
-
Max Kellermann authored
If the constructor moves from an ExportedSong instance which refers to somebody else's "Tag" instance, the newly constructed instance will instead refer to its own empty "tag_buffer" field. This broke SimpleDatabase::GetSong(), i.e. all songs on the queue restored from the state file or added using the "addid" command. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1089
-
Max Kellermann authored
-
- 15 Feb, 2021 26 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
release v0.22.5
-
Max Kellermann authored
-
Max Kellermann authored
Needed for `requestLegacyExternalStorage` (commit ca02fb77).
-
Max Kellermann authored
The "move" command doesn't allow open-ended ranges because they don't make a lot of sense; moving an open-ended range is only possible if the destination index is before the range, and in that case, the client should be well aware how many songs there are. Closes https://github.com/MusicPlayerDaemon/MPD/pull/1057
-
Max Kellermann authored
Catch errors like that early, before invalid ranges get passed to internal MPD subsystems.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Naglis Jonaitis authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Shen-Ta Hsieh authored
-
Max Kellermann authored
This is a workaround for the new scoped storage design in Android 11: https://developer.android.com/about/versions/11/privacy/storage This needs a proper solution eventually, but this quick fix will do until we change "targetSdkVersion" to 30. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1061
-
Max Kellermann authored
After commit 1afa33c3, an old bug was revealed: SimpleDatabase::GetSong() constructs an ExportedSong instance by moving the return value of Song::Export(), which causes the LightSong::tag field to be dangling on the moved-from ExportedSong::tag_buffer. This broke tags from CUE sheets. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1070
-
Max Kellermann authored
Keep track of whether there is data being played, and don't call AudioOutput::Drain() after Cancel() has been called already.
-
Max Kellermann authored
In this state, we can't make any progress. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1084
-
Max Kellermann authored
Drain only if it was requested explicitly.
-
Max Kellermann authored
It is useless, because we're always checking pa_stream_is_corked().
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1022
-
- 13 Feb, 2021 1 commit
-
-
AndriiZ authored
Add cacert option for curl plugin add cacert option for Curl plugin. Allows to set cacert for curl lib Added documentation line into doc/plugins.rst with explanation for cacert option
-
- 12 Feb, 2021 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This is semi-standard and doesn't require the util/Compiler.h header.
-
Max Kellermann authored
Throwing std::runtime_error was slightly wrong.
-
Max Kellermann authored
-
- 11 Feb, 2021 1 commit
-
-
Max Kellermann authored
-
- 07 Feb, 2021 3 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1031
-
Max Kellermann authored
Commit 79b23663 added the field `skip` to support unaligned reads, but set the `offset` field to a wrong value. This resulted in miscalculation of `remaining`, causing an assertion failure. The fix is to assign `offset` the correct value, but consider the `skip` value in the assertion. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1067
-