client/Process: explicitly disallow "idle" and "noidle" in command lists

These commands cannot possibly work with command lists because command
lists are supposed to be atomic, but suspended command execution
conflicts with that.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/2167
This commit is contained in:
Max Kellermann
2025-01-29 16:07:39 +01:00
parent 8fcb6e148f
commit 0e8cd3b961
3 changed files with 18 additions and 0 deletions

View File

@@ -156,6 +156,9 @@ fails, no more commands are executed and the appropriate
``list_OK`` is returned for each
successful command executed in the command list.
Only synchronous commands can be used in command lists. Commands that
suspend execution (``idle`` and ``noidle``) are not allowed.
Ranges
======