From 2a2391d3d86891721b3344341d1627a07f60e934 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 23 Mar 2015 17:41:19 +0100 Subject: manpage: ipc: make requirements for newlines more explicit Clarifying because someone asked. --- DOCS/man/ipc.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DOCS/man/ipc.rst b/DOCS/man/ipc.rst index 0edec05066..bbe07f0aba 100644 --- a/DOCS/man/ipc.rst +++ b/DOCS/man/ipc.rst @@ -79,6 +79,9 @@ mpv will also send events to clients with JSON messages of the following form: where ``event_name`` is the name of the event. Additional event-specific fields can also be present. See `List of events`_ for a list of all supported events. +All commands, replies, and events are separated from each other with a line +break character (``\n``). + If the first character (after skipping whitespace) is not ``{``, the command will be interpreted as non-JSON text command, as they are used in input.conf (or ``mpv_command_string()`` in the client API). Additionally, line starting -- cgit v1.2.3