From 685b78828d948fe28e4d5c85b10e86d7df554e98 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 12 Nov 2018 12:57:45 +0100 Subject: [PATCH] doc/protocol.rst: mention that unknown lines may be omitted --- doc/protocol.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/protocol.rst b/doc/protocol.rst index e0d750f29..e2e6f758b 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -419,6 +419,10 @@ Querying ``MPD``'s status - ``updating_db``: ``job id`` - ``error``: if there is an error, returns message here + :program:`MPD` may omit lines which have no (known) value. Older + :program:`MPD` versions used to have a "magic" value for + "unknown", e.g. ":samp:`volume: -1`". + :command:`stats` Displays statistics.