From cf627fd3de180f0cb0173e016f160de8399cd692 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 19 Oct 2014 21:38:43 +0200 Subject: ipc: accept both JSON and "old" commands Minimizes the differences between --input-file and --input-unix-socket. --- DOCS/man/ipc.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'DOCS/man/ipc.rst') diff --git a/DOCS/man/ipc.rst b/DOCS/man/ipc.rst index 83aa018b03..f0c6004006 100644 --- a/DOCS/man/ipc.rst +++ b/DOCS/man/ipc.rst @@ -47,6 +47,10 @@ 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. +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). + Commands -------- -- cgit v1.2.3